hardcode accounts ip so nginx doesn't die if accounts are not present

This commit is contained in:
Karol Wypchlo 2021-05-13 12:25:48 +02:00
parent d2694c82d3
commit 86225c8082
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ server {
proxy_cache_valid 200 401 1m; # cache success and unauthorized responses for 1 minute
rewrite /accounts(.*) $1 break; # drop the /accounts prefix from uri
proxy_pass http://accounts:3000;
proxy_pass http://10.10.10.70:3000; # hardcoded ip because accounts might not be available
}
# include custom locations, specific to the server