Update nginx.conf
Browse files- nginx.conf +8 -13
nginx.conf
CHANGED
|
@@ -1,19 +1,14 @@
|
|
| 1 |
server {
|
| 2 |
listen 7860;
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
| 7 |
proxy_set_header Host $host;
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
proxy_pass http://localhost:5678/;
|
| 13 |
-
}
|
| 14 |
-
|
| 15 |
-
# Route to your Vault
|
| 16 |
-
location /vault/ {
|
| 17 |
-
proxy_pass http://localhost:8200/;
|
| 18 |
}
|
| 19 |
}
|
|
|
|
| 1 |
server {
|
| 2 |
listen 7860;
|
| 3 |
|
| 4 |
+
location /sse {
|
| 5 |
+
proxy_pass http://localhost:3000/sse;
|
| 6 |
+
proxy_http_version 1.1;
|
| 7 |
+
proxy_set_header Connection "";
|
| 8 |
proxy_set_header Host $host;
|
| 9 |
+
proxy_cache off;
|
| 10 |
+
proxy_buffering off;
|
| 11 |
+
chunked_transfer_encoding on;
|
| 12 |
+
proxy_read_timeout 86400s; # Prevents timeout during long browsing sessions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
}
|