fix: add Nginx SSE proxy configs to prevent buffering of AI streams, and fix Gateway internal routing to use Nginx
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
This commit is contained in:
@@ -10,12 +10,12 @@
|
|||||||
mcp:
|
mcp:
|
||||||
gateway:
|
gateway:
|
||||||
fallback:
|
fallback:
|
||||||
default-url: http://tool-other:8084
|
default-url: http://nginx:8284
|
||||||
routes:
|
routes:
|
||||||
sms: http://tool-sms:8082
|
sms: http://nginx:8282
|
||||||
email: http://tool-email:8083
|
email: http://nginx:8283
|
||||||
payment: http://tool-payment:8085
|
payment: http://nginx:8285
|
||||||
hr: http://tool-other:8084
|
hr: http://nginx:8284
|
||||||
|
|
||||||
# --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) ---
|
# --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) ---
|
||||||
shinhan:
|
shinhan:
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ server:
|
|||||||
mcp:
|
mcp:
|
||||||
gateway:
|
gateway:
|
||||||
fallback:
|
fallback:
|
||||||
default-url: http://tool-other:8084
|
default-url: http://nginx:8284
|
||||||
routes:
|
routes:
|
||||||
sms: http://tool-sms:8082
|
sms: http://nginx:8282
|
||||||
email: http://tool-email:8083
|
email: http://nginx:8283
|
||||||
payment: http://tool-payment:8085
|
payment: http://nginx:8285
|
||||||
hr: http://tool-hr:8086
|
hr: http://nginx:8286
|
||||||
agent-claims-required: false
|
agent-claims-required: false
|
||||||
trusted-claims-required: false
|
trusted-claims-required: false
|
||||||
write-approval-required: false
|
write-approval-required: false
|
||||||
|
|||||||
@@ -22,6 +22,11 @@ server {
|
|||||||
listen 8281;
|
listen 8281;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://gateway;
|
proxy_pass http://gateway;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -31,6 +36,11 @@ server {
|
|||||||
listen 8282;
|
listen 8282;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-sms;
|
proxy_pass http://tool-sms;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -40,6 +50,11 @@ server {
|
|||||||
listen 8283;
|
listen 8283;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-email;
|
proxy_pass http://tool-email;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -49,6 +64,11 @@ server {
|
|||||||
listen 8284;
|
listen 8284;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-other;
|
proxy_pass http://tool-other;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -58,6 +78,11 @@ server {
|
|||||||
listen 8285;
|
listen 8285;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-payment;
|
proxy_pass http://tool-payment;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,11 @@ server {
|
|||||||
listen 8281;
|
listen 8281;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://gateway;
|
proxy_pass http://gateway;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -31,6 +36,11 @@ server {
|
|||||||
listen 8282;
|
listen 8282;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-sms;
|
proxy_pass http://tool-sms;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -40,6 +50,11 @@ server {
|
|||||||
listen 8283;
|
listen 8283;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-email;
|
proxy_pass http://tool-email;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -49,6 +64,11 @@ server {
|
|||||||
listen 8284;
|
listen 8284;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-other;
|
proxy_pass http://tool-other;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
@@ -58,6 +78,11 @@ server {
|
|||||||
listen 8285;
|
listen 8285;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tool-payment;
|
proxy_pass http://tool-payment;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection '';
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user