refactored frontent to separate files

This commit is contained in:
2026-02-24 12:56:54 -07:00
parent 9dc6e9749c
commit 8bb086eac9
13 changed files with 369 additions and 309 deletions

View File

@@ -3,11 +3,9 @@ upstream phoenix_backend {
# Note: Each new connection gets a new key, so reconnections may route differently
hash $http_sec_websocket_key consistent;
# Failover configuration: mark server as down after 3 failed attempts within 30s
# Server will be retried after 30s
server phoenix1:4000 max_fails=1 fail_timeout=30s;
server phoenix2:4000 max_fails=1 fail_timeout=30s;
server phoenix3:4000 max_fails=1 fail_timeout=30s;
server phoenix1:4000 max_fails=1 fail_timeout=10s;
server phoenix2:4000 max_fails=1 fail_timeout=10s;
server phoenix3:4000 max_fails=1 fail_timeout=10s;
}
server {