From 4cc5cfae12ade8cd814d2914f15b9051a2b83f03 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 8 Oct 2025 13:47:08 +0200 Subject: [PATCH] Add /status location block for proxy configuration Added a new location block for /status to handle proxying. --- web/conf/nginx.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/web/conf/nginx.conf b/web/conf/nginx.conf index 6c9971b..ee98c2a 100644 --- a/web/conf/nginx.conf +++ b/web/conf/nginx.conf @@ -27,4 +27,18 @@ server { index index.html; } + + location /status { + + proxy_http_version 1.1; + + proxy_set_header Connection 'upgrade'; + proxy_set_header Upgrade $http_upgrade; + + proxy_buffering off; + proxy_read_timeout 3600s; + proxy_send_timeout 3600s; + + proxy_pass http://127.0.0.1:8004/; + } }