Skip to content

Commit d8c194c

Browse files
committed
Update Fe
1 parent 1dba0df commit d8c194c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docker/nginx.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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

src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: false,
3-
IP_SERVER: 'http://localhost:8888/api',
3+
IP_SERVER: 'http://3.27.221.69:8888/api',
44
};

0 commit comments

Comments
 (0)