Commit b947c101 by Feanil Patel

Don't use auth on the URL that is used for healthcheck.

parent 32674731
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment