onlyrickroll commited on
Commit
db14ade
·
verified ·
1 Parent(s): 06b07be

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -2
nginx.conf CHANGED
@@ -30,14 +30,14 @@ http {
30
 
31
  # 根目录反代 8080 (C/C++ 服务)
32
  location / {
33
- proxy_pass http://127.0.0.1:8080;
34
  proxy_set_header Host $host;
35
  proxy_set_header X-Real-IP $remote_addr;
36
  }
37
 
38
  # /bot 路径反代 8888 (Python 服务)
39
  location /bot {
40
- proxy_pass http://127.0.0.1:8888;
41
  proxy_http_version 1.1;
42
  proxy_set_header Upgrade $http_upgrade;
43
  proxy_set_header Connection $connection_upgrade;
 
30
 
31
  # 根目录反代 8080 (C/C++ 服务)
32
  location / {
33
+ proxy_pass http://127.0.0.1:8080/;
34
  proxy_set_header Host $host;
35
  proxy_set_header X-Real-IP $remote_addr;
36
  }
37
 
38
  # /bot 路径反代 8888 (Python 服务)
39
  location /bot {
40
+ proxy_pass http://127.0.0.1:8888/;
41
  proxy_http_version 1.1;
42
  proxy_set_header Upgrade $http_upgrade;
43
  proxy_set_header Connection $connection_upgrade;