Spaces:
Build error
Build error
DeFactOfficial
commited on
Commit
•
2022b2b
1
Parent(s):
6a1b458
Update conf/nginx.conf
Browse files- conf/nginx.conf +3 -2
conf/nginx.conf
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
#this gets copied into the nginx settings during space creation... see dockerfile
|
2 |
-
|
3 |
server {
|
4 |
listen 7860;
|
5 |
server_name localhost;
|
@@ -26,6 +24,9 @@ server {
|
|
26 |
location /api/ {
|
27 |
#rewrite ^/API/images/(.*) /$1 break;
|
28 |
proxy_pass http://localhost:6666;
|
|
|
|
|
|
|
29 |
proxy_buffering on;
|
30 |
proxy_buffer_size 128k;
|
31 |
proxy_buffers 4 256k;
|
|
|
|
|
|
|
1 |
server {
|
2 |
listen 7860;
|
3 |
server_name localhost;
|
|
|
24 |
location /api/ {
|
25 |
#rewrite ^/API/images/(.*) /$1 break;
|
26 |
proxy_pass http://localhost:6666;
|
27 |
+
proxy_http_version 1.1;
|
28 |
+
proxy_set_header Upgrade $http_upgrade;
|
29 |
+
|
30 |
proxy_buffering on;
|
31 |
proxy_buffer_size 128k;
|
32 |
proxy_buffers 4 256k;
|