Other paths to clear.
This commit is contained in:
parent
d9b82ee91d
commit
f36be419e7
|
@ -59,6 +59,24 @@ server {
|
||||||
proxy_pass http://_inception-server;
|
proxy_pass http://_inception-server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /telemetry.html.* {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# Required for new HTTP-based CLI
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_buffering off; # Required for HTTP-based CLI to work over SSL
|
||||||
|
proxy_set_header Connection ""; # Clear for keepalive
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
|
proxy_set_header Authorization "Bearer $auth_token";
|
||||||
|
proxy_set_header remote_user "$remote_user";
|
||||||
|
proxy_pass http://_inception-server;
|
||||||
|
}
|
||||||
|
|
||||||
location /projects.html {
|
location /projects.html {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
@ -77,6 +95,25 @@ server {
|
||||||
proxy_pass http://_inception-server;
|
proxy_pass http://_inception-server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /projects.html.* {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# Required for new HTTP-based CLI
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_buffering off; # Required for HTTP-based CLI to work over SSL
|
||||||
|
proxy_set_header Connection ""; # Clear for keepalive
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
|
proxy_set_header Authorization "Bearer $auth_token";
|
||||||
|
proxy_set_header remote_user "$remote_user";
|
||||||
|
proxy_pass http://_inception-server;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
location /users.html {
|
location /users.html {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
@ -95,6 +132,24 @@ server {
|
||||||
proxy_pass http://_inception-server;
|
proxy_pass http://_inception-server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /users.html.* {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# Required for new HTTP-based CLI
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_buffering off; # Required for HTTP-based CLI to work over SSL
|
||||||
|
proxy_set_header Connection ""; # Clear for keepalive
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
|
proxy_set_header Authorization "Bearer $auth_token";
|
||||||
|
proxy_set_header remote_user "$remote_user";
|
||||||
|
proxy_pass http://_inception-server;
|
||||||
|
}
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
Loading…
Reference in New Issue