Files
lolympus-tournament-support/apps/api/test/auction-cluster/nginx.conf
T
dahyeon 8d741ef9a7 test(auction): add two-node Docker failure integration suite
Exercise Nginx routing, Mongo transaction ordering, history backfills, Undo, Pub/Sub TCP loss, safety polling, resync, and reconnection. Keep fixtures and results isolated from production and git.
2026-11-12 01:49:35 +09:00

19 lines
389 B
Nginx Configuration File

events {}
http {
upstream auction {
server api-a:3000;
server api-b:3000;
}
server {
listen 8080;
location / {
proxy_pass http://auction;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 120s;
add_header X-Cluster-Upstream $upstream_addr always;
}
}
}