mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
15
README.md
15
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user