File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,14 @@ location /api/ {
8989 # Forward to the backend base url. Note: using a full URL here lets nginx
9090 # perform an external proxy pass to the backend host configured at runtime.
9191 proxy_pass ${VITE_BACKEND_BASE_URL} /api/;
92- proxy_set_header Host $host ;
93- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
94- proxy_set_header X-Forwarded-Proto $scheme ;
92+ proxy_set_header Host \ $ host;
93+ proxy_set_header X-Forwarded-For \ $ proxy_add_x_forwarded_for;
94+ proxy_set_header X-Forwarded-Proto \ $ scheme;
9595 proxy_http_version 1.1;
9696 proxy_set_header Connection '';
9797 proxy_buffering off; # important for SSE
9898 chunked_transfer_encoding off;
99- proxy_cache_bypass $http_upgrade ;
99+ proxy_cache_bypass \ $ http_upgrade;
100100 proxy_read_timeout 3600s;
101101 proxy_send_timeout 3600s;
102102}
You can’t perform that action at this time.
0 commit comments