Update nginx.conf
Browse files- nginx.conf +2 -13
nginx.conf
CHANGED
|
@@ -1,20 +1,9 @@
|
|
| 1 |
server {
|
| 2 |
listen 7860;
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
location /terminal/ {
|
| 6 |
-
proxy_pass http://127.0.0.1:8080/;
|
| 7 |
-
proxy_http_version 1.1;
|
| 8 |
-
proxy_set_header Upgrade $http_upgrade;
|
| 9 |
-
proxy_set_header Connection "upgrade";
|
| 10 |
-
proxy_set_header Host $host;
|
| 11 |
-
proxy_read_timeout 86400;
|
| 12 |
-
proxy_send_timeout 86400;
|
| 13 |
-
}
|
| 14 |
-
|
| 15 |
-
# OpenClaw gateway
|
| 16 |
location / {
|
| 17 |
-
proxy_pass http://127.0.0.1:
|
| 18 |
proxy_http_version 1.1;
|
| 19 |
proxy_set_header Upgrade $http_upgrade;
|
| 20 |
proxy_set_header Connection "upgrade";
|
|
|
|
| 1 |
server {
|
| 2 |
listen 7860;
|
| 3 |
|
| 4 |
+
# Root e terminal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
location / {
|
| 6 |
+
proxy_pass http://127.0.0.1:8080/;
|
| 7 |
proxy_http_version 1.1;
|
| 8 |
proxy_set_header Upgrade $http_upgrade;
|
| 9 |
proxy_set_header Connection "upgrade";
|