Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
140b01a2
Commit
140b01a2
authored
Dec 02, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: nginx conf looks better
parent
d7e34c91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+1
-1
software/slaprunner/nginx_conf.in
software/slaprunner/nginx_conf.in
+8
-8
No files found.
software/slaprunner/common.cfg
View file @
140b01a2
...
...
@@ -122,7 +122,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/nginx_conf.in
download-only = true
md5sum =
6d4a33db024b069778006f8c1da8c0aa
md5sum =
e169a8f217fab490ffb435d4b2d07ef3
filename = nginx_conf.in
mode = 0644
...
...
software/slaprunner/nginx_conf.in
View file @
140b01a2
...
...
@@ -60,19 +60,19 @@ http {
auth_basic "Restricted";
auth_basic_user_file {{ param_nginx_frontend['etc_dir'] }}/.htpasswd;
proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header
X-Forwarded-Host
$http_host;
proxy_set_header
X-Accel-Mapping
/private/;
proxy_set_header
X-Forwarded-Proto $scheme;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header
X-Forwarded-Host
$http_host;
proxy_set_header
X-Accel-Mapping
/private/;
proxy_pass http://unix:{{ socket }};
}
location ~ ^(/login|/doLogin|/static|/setAccount|/configAccount|/slapgridResult|/isSRReady) {
proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header
X-Forwarded-Host
$http_host;
proxy_set_header
X-Accel-Mapping
/private/;
proxy_set_header
X-Forwarded-Proto $scheme;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header
X-Forwarded-Host
$http_host;
proxy_set_header
X-Accel-Mapping
/private/;
proxy_pass http://unix:{{ socket }};
}
...
...
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