Spaces:
Build error
Build error
Update nginx.conf
Browse files- nginx.conf +2 -6
nginx.conf
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
server {
|
| 4 |
listen 8080 default_server;
|
| 5 |
listen [::]:8080 default_server;
|
|
@@ -28,7 +26,7 @@ server {
|
|
| 28 |
proxy_redirect off;
|
| 29 |
}
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
location /ws/ {
|
| 34 |
proxy_pass http://localhost:8000/ws/;
|
|
@@ -38,6 +36,4 @@ server {
|
|
| 38 |
proxy_set_header Host $host;
|
| 39 |
proxy_read_timeout 600s; # Extended timeout for WebSocket connections
|
| 40 |
}
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
| 1 |
server {
|
| 2 |
listen 8080 default_server;
|
| 3 |
listen [::]:8080 default_server;
|
|
|
|
| 26 |
proxy_redirect off;
|
| 27 |
}
|
| 28 |
|
| 29 |
+
|
| 30 |
|
| 31 |
location /ws/ {
|
| 32 |
proxy_pass http://localhost:8000/ws/;
|
|
|
|
| 36 |
proxy_set_header Host $host;
|
| 37 |
proxy_read_timeout 600s; # Extended timeout for WebSocket connections
|
| 38 |
}
|
| 39 |
+
}
|
|
|
|
|
|