mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
Update README.md
This commit is contained in:
parent
53fe1dd8cb
commit
73eb62fd41
1 changed files with 2 additions and 2 deletions
|
@ -38,13 +38,13 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real_IP $remote_addr;
|
proxy_set_header X-Real_IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
|
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection upgrade;
|
proxy_set_header Connection upgrade;
|
||||||
proxy_pass http://127.0.0.1:9000/;
|
proxy_pass http://127.0.0.1:9000/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue