Add /status location block for proxy configuration

Added a new location block for /status to handle proxying.
This commit is contained in:
Kroese 2025-10-08 13:47:08 +02:00 committed by GitHub
parent 88ef00654f
commit 4cc5cfae12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/;
}
}