Skip to content

Commit

Permalink
doc: update
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
zhaojh329 committed Dec 16, 2024
1 parent a272ad4 commit fec71e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,19 @@ Quit from database console by exit.
# rttys.conf
addr-user: 127.0.0.1:5913
addr-http-proxy: 127.0.0.1:5914
http-proxy-redir-url: http://your-server.com:5954
http-proxy-redir-url: http://web.your-server.com
http-proxy-redir-domain: .your-server.com
```

```
# nginx.conf
server {
listen 8080;
listen 80;
server_name rtty.your-server.com;
location /connect/ {
proxy_set_header Upgrade $http_upgrade;
Expand All @@ -114,7 +118,9 @@ server {
}
server {
listen 5954;
listen 80;
server_name web.your-server.com;
location / {
proxy_set_header Upgrade $http_upgrade;
Expand Down
12 changes: 9 additions & 3 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,19 @@ FLUSH PRIVILEGES;
# rttys.conf
addr-user: 127.0.0.1:5913
addr-http-proxy: 127.0.0.1:5914
http-proxy-redir-url: http://your-server.com:5954
http-proxy-redir-url: http://web.your-server.com
http-proxy-redir-domain: .your-server.com
```

```
# nginx.conf
server {
listen 8080;
listen 80;
server_name rtty.your-server.com;
location /connect/ {
proxy_set_header Upgrade $http_upgrade;
Expand All @@ -112,7 +116,9 @@ server {
}
server {
listen 5954;
listen 80;
server_name web.your-server.com;
location / {
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit fec71e8

Please sign in to comment.