Skip to content

Commit

Permalink
docs: fix README
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Jan 16, 2025
1 parent 9b92349 commit 282f445
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,27 @@ 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;
}
location / {
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
Expand Down
2 changes: 1 addition & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,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;
}
Expand Down

0 comments on commit 282f445

Please sign in to comment.