Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
76ff9735
Commit
76ff9735
authored
Aug 25, 2014
by
Sebastian Kosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move custom server blocks to STORAGE_ROOT
parent
9bfff1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web_update.py
management/web_update.py
+1
-1
No files found.
management/web_update.py
View file @
76ff9735
...
@@ -104,7 +104,7 @@ def make_domain_config(domain, template, template_for_primaryhost, env):
...
@@ -104,7 +104,7 @@ def make_domain_config(domain, template, template_for_primaryhost, env):
nginx_conf
+=
"
\t
location
%
s {
\n\t\t
proxy_pass
%
s;
\n\t
}
\n
"
%
(
path
,
url
)
nginx_conf
+=
"
\t
location
%
s {
\n\t\t
proxy_pass
%
s;
\n\t
}
\n
"
%
(
path
,
url
)
# Add in any user customizations in the includes/ folder.
# Add in any user customizations in the includes/ folder.
nginx_conf_custom_include
=
os
.
path
.
join
(
"/etc/nginx/conf.d/includes/"
,
domain
+
".conf"
)
nginx_conf_custom_include
=
os
.
path
.
join
(
env
[
"STORAGE_ROOT"
],
"www"
,
safe_domain_name
(
test_domain
)
+
".conf"
)
if
os
.
path
.
exists
(
nginx_conf_custom_include
):
if
os
.
path
.
exists
(
nginx_conf_custom_include
):
nginx_conf
+=
"
\t
include
%
s;
\n
"
%
(
nginx_conf_custom_include
)
nginx_conf
+=
"
\t
include
%
s;
\n
"
%
(
nginx_conf_custom_include
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment