doc: update

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2024-12-16 11:20:57 +08:00
parent a272ad4e80
commit fec71e8374
2 changed files with 18 additions and 6 deletions

View File

@@ -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;
@@ -114,7 +118,9 @@ server {
}
server {
listen 5954;
listen 80;
server_name web.your-server.com;
location / {
proxy_set_header Upgrade $http_upgrade;

View File

@@ -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;
@@ -112,7 +116,9 @@ server {
}
server {
listen 5954;
listen 80;
server_name web.your-server.com;
location / {
proxy_set_header Upgrade $http_upgrade;