From 1063b2ec7cd4f7e7386aa23547a01246b43d1814 Mon Sep 17 00:00:00 2001 From: evan Date: Wed, 5 Nov 2025 21:41:55 -0800 Subject: [PATCH] pass query parameters to status page --- nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index 8db3c4759..80e5114c4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; @@ -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(/.*)? {