From 968e42e9257c5d368447ec643a08febbafe35f4a Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Tue, 13 Feb 2024 15:50:13 -0700 Subject: [PATCH] - Add resolver to nginx to avoid ip address change on app restart --- tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf b/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf index 798f591bb..514010873 100644 --- a/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf +++ b/tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf @@ -34,6 +34,8 @@ http { limit_req_zone $binary_remote_addr zone=limitreqsbyaddr:20m rate=1000r/s; limit_req_status 444; + resolver {{nameservers}} valid=10s; + server { root public; listen {{port}};