docs: fix README

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-01-16 11:17:41 +08:00
parent 9b923492e0
commit 282f4452a9
2 changed files with 15 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ server {
}
location /web/ {
proxy_set_header HttpProxyRedir http://$server_name;
proxy_set_header HttpProxyRedir http://web.your-server.com;
proxy_pass http://127.0.0.1:5913;
}
@@ -157,6 +157,19 @@ server {
proxy_pass http://127.0.0.1:5913;
}
}
server {
listen 80;
server_name web.your-server.com;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://127.0.0.1:5914;
}
}
```
## Docker