Spaces:
Paused
Paused
Update nginx.conf
Browse files- 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;
|