hardcode accounts ip so nginx doesn't die if accounts are not present
This commit is contained in:
parent
d2694c82d3
commit
86225c8082
|
@ -528,7 +528,7 @@ server {
|
||||||
proxy_cache_valid 200 401 1m; # cache success and unauthorized responses for 1 minute
|
proxy_cache_valid 200 401 1m; # cache success and unauthorized responses for 1 minute
|
||||||
|
|
||||||
rewrite /accounts(.*) $1 break; # drop the /accounts prefix from uri
|
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
|
# include custom locations, specific to the server
|
||||||
|
|
Reference in New Issue