Spaces:
Paused
Paused
Create nginx.conf
Browse files- nginx.conf +13 -0
nginx.conf
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
listen 7860;
|
| 3 |
+
location / {
|
| 4 |
+
proxy_pass http://127.0.0.1:7681;
|
| 5 |
+
proxy_http_version 1.1;
|
| 6 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 7 |
+
proxy_set_header Connection "upgrade";
|
| 8 |
+
proxy_set_header Host $host;
|
| 9 |
+
proxy_set_header X-Real-IP $remote_addr;
|
| 10 |
+
proxy_read_timeout 86400s;
|
| 11 |
+
proxy_send_timeout 86400s;
|
| 12 |
+
}
|
| 13 |
+
}
|