Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ http {
resolver 127.0.0.11 valid=15s;

proxy_set_header Host $host;
proxy_pass http://host.docker.internal:17000;
proxy_pass http://172.17.0.1:17000$is_args$args;

rewrite ^/status(.*)$ $1 break;

proxy_cache status_cache;
proxy_cache_key $uri;
proxy_cache_key "$uri$is_args$args";
proxy_cache_valid 200 302 30s;
proxy_cache_valid 404 1m;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
Expand All @@ -99,7 +99,7 @@ http {
add_header Cache-Control "public, max-age=30, stale-while-revalidate=30";
}
location ~ ^/status$ {
return 302 $scheme://$http_host/status/;
return 302 $scheme://$http_host/status/$is_args$args;
}

location ~ ^/spartan-compass(/.*)? {
Expand Down