nginx: WebSocket headers for Uptime Kuma, fix monitor base path
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ea9dba0c58
commit
ba8b9bd5a3
1 changed files with 4 additions and 1 deletions
|
|
@ -19,10 +19,13 @@ server {
|
|||
}
|
||||
|
||||
location /monitor/ {
|
||||
proxy_pass http://10.10.10.105:3002/;
|
||||
proxy_pass http://10.10.10.105:3002/monitor/;
|
||||
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 Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location /deploy/ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue