mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
Add /status location block for proxy configuration
Added a new location block for /status to handle proxying.
This commit is contained in:
parent
88ef00654f
commit
4cc5cfae12
@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user