Files
ax_hub_mcp_tool/nginx/conf.d/default.conf
jade 4015207b86
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 7m53s
fix: map Nginx 8281 to host 8080 to restore Apache proxy connection
2026-07-24 23:52:55 +09:00

40 lines
687 B
Plaintext

upstream gateway {
server gateway-blue:8081;
}
upstream tool-sms {
server tool-sms-blue:8082;
}
upstream tool-other {
server tool-other-blue:8084;
}
server {
listen 8281;
location / {
proxy_pass http://gateway;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 8282;
location / {
proxy_pass http://tool-sms;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 8284;
location / {
proxy_pass http://tool-other;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}