From b1e21bdeba4c48f8ae5c05200336f37052a28760 Mon Sep 17 00:00:00 2001 From: evan Date: Sun, 30 Aug 2026 19:04:39 -0700 Subject: [PATCH 1/2] proxy_pass http://172.17.0.1:17000/status-page; --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 7cd2bbd12..747bfd918 100644 --- a/nginx.conf +++ b/nginx.conf @@ -128,7 +128,7 @@ http { resolver 127.0.0.11 valid=15s; proxy_set_header Host $host; - proxy_pass http://172.17.0.1:17000$is_args$args; + proxy_pass http://172.17.0.1:17000/status-page$is_args$args; rewrite ^/status(.*)$ $1 break; From 5a2b3745e72410872f6355a5f50dd329f0cb0446 Mon Sep 17 00:00:00 2001 From: evan Date: Sun, 30 Aug 2026 19:08:14 -0700 Subject: [PATCH 2/2] lets get creative --- nginx.conf | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/nginx.conf b/nginx.conf index 747bfd918..1da8d45da 100644 --- a/nginx.conf +++ b/nginx.conf @@ -125,20 +125,19 @@ http { } location ~ ^/status/ { - resolver 127.0.0.11 valid=15s; - - proxy_set_header Host $host; - proxy_pass http://172.17.0.1:17000/status-page$is_args$args; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; - rewrite ^/status(.*)$ $1 break; + # Forward /status directly down the tunnel + proxy_pass http://172.17.0.1:17000; proxy_cache status_cache; 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; - # REMOVE proxy_cache_bypass unless you intend to bypass on a specific condition - # proxy_cache_bypass $http_pragma; proxy_cache_revalidate on; add_header X-Cache-Status $upstream_cache_status;