@@ -8,6 +8,21 @@ server {
88 index index.html index.htm;
99 try_files $uri $uri/ =404;
1010 }
11+ location /devmode {
12+ proxy_set_header Upgrade $http_upgrade;
13+ proxy_set_header Connection "upgrade";
14+ proxy_set_header Host $host;
15+ proxy_set_header X-Real-IP $remote_addr;
16+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17+ proxy_set_header X-Forwarded-Proto $scheme;
18+ proxy_http_version 1.1;
19+ proxy_read_timeout 3600s;
20+ proxy_send_timeout 3600s;
21+ proxy_connect_timeout 3600s;
22+ proxy_buffering off;
23+ client_max_body_size 10M;
24+ proxy_pass http://127.0.0.1:5173;
25+ }
1126 location SUBFOLDERwebsocket {
1227 proxy_set_header Upgrade $http_upgrade;
1328 proxy_set_header Connection "upgrade";
@@ -47,6 +62,21 @@ server {
4762 index index.html index.htm;
4863 try_files $uri $uri/ =404;
4964 }
65+ location /devmode {
66+ proxy_set_header Upgrade $http_upgrade;
67+ proxy_set_header Connection "upgrade";
68+ proxy_set_header Host $host;
69+ proxy_set_header X-Real-IP $remote_addr;
70+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
71+ proxy_set_header X-Forwarded-Proto $scheme;
72+ proxy_http_version 1.1;
73+ proxy_read_timeout 3600s;
74+ proxy_send_timeout 3600s;
75+ proxy_connect_timeout 3600s;
76+ proxy_buffering off;
77+ client_max_body_size 10M;
78+ proxy_pass http://127.0.0.1:5173;
79+ }
5080 location SUBFOLDERwebsocket {
5181 proxy_set_header Upgrade $http_upgrade;
5282 proxy_set_header Connection "upgrade";
0 commit comments