Skip to content

Commit

Permalink
deploy: use IP as fallback in nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Apr 9, 2024
1 parent d5038bc commit 86e8c3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/nginx.prod.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
upstream _monolith {
server global.ott-prod.internal:8080;
server [fdaa:2:8629:a7b:b:13ba:524e:2]:8080 backup;
}

upstream _balancer {
server global.ott-balancer-prod.internal:8081;
server [fdaa:2:8629:0:1::8]:8081 backup;
}

# we add http_x_forwarded_for because this is sitting behind fly-proxy
Expand Down
1 change: 1 addition & 0 deletions typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ extend-exclude = [
"server/tests/unit/services/dailymotion.spec.ts",
"client/src/locales",
"!client/src/locales/en.ts",
"deploy/nginx.prod.conf",
]

0 comments on commit 86e8c3a

Please sign in to comment.