Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 28, 2024
1 parent 2386593 commit 1df1369
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ http {

upstream api_servers {
least_conn;
server corinee_server_1:3000 weight=4 max_fails=1 fail_timeout=10s; # 메인 서버의 API (docker network 내부 이름 사용)
server corinee_server_1:3000 weight=4 max_fails=2 fail_timeout=5s; # 메인 서버의 API (docker network 내부 이름 사용)
# server 223.130.134.167:3000 weight=8 max_fails=1 fail_timeout=10s; # 두 번째 서버의 공인 IP
# server 223.130.130.192:3000 weight=8 max_fails=1 fail_timeout=10s;
# server 211.188.59.137:3000 weight=8 max_fails=1 fail_timeout=10s;
# server 211.188.59.126:3000 weight=1 max_fails=1 fail_timeout=10s;
server 124.28.132.80:7999 weight=80 max_fails=1 fail_timeout=10s;
server 124.28.132.80:7999 weight=80 max_fails=2 fail_timeout=5s;

health_check interval=5s fails=2 passes=2;
health_check uri=/api/health;
}

server {
Expand Down

0 comments on commit 1df1369

Please sign in to comment.