File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,18 @@ server {
88 # Proxy API -> gateway-service
99 location /api/ {
1010 proxy_pass http ://gateway-service:8888 /api/v1/;
11-
1211 proxy_http_version 1.1;
12+
1313 proxy_set_header Host $host ;
1414 proxy_set_header X-Real-IP $remote_addr ;
1515 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
1616 proxy_set_header X-Forwarded-Proto $scheme ;
1717 proxy_set_header Connection "" ;
18+
19+ # WebSocket/SSE
20+ proxy_set_header Upgrade $http_upgrade ;
21+ proxy_set_header Connection "upgrade" ;
22+ proxy_read_timeout 300s ;
1823 }
1924
2025 # Cache
Original file line number Diff line number Diff line change 11export const environment = {
22 production : false ,
3- IP_SERVER : 'http://localhost :8888/api' ,
3+ IP_SERVER : 'http://3.27.221.69 :8888/api' ,
44} ;
You can’t perform that action at this time.
0 commit comments