refactored frontent to separate files
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user