Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
OpenEdx
configuration
Commits
efc07d53
Commit
efc07d53
authored
9 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2014 from edx/feanil/update_xserver_healthcheck
Don't use auth on the URL that is used for healthcheck.
parents
47f7a39a
b947c101
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/xserver.j2
+6
-1
No files found.
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/xserver.j2
View file @
efc07d53
...
...
@@ -23,7 +23,7 @@ server {
}
location @proxy_to_app {
location @proxy_to_app {
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Port $http_x_forwarded_port;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
...
...
@@ -32,4 +32,9 @@ location @proxy_to_app {
proxy_redirect off;
proxy_pass http://xserver_app_server;
}
# Used for xserver healthcheck
location /index.html {
try_files $uri @proxy_to_app;
}
}
This diff is collapsed.
Click to expand it.
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