Skip to content

Commit

Permalink
- Add resolver to nginx to avoid ip address change on app restart
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Feb 13, 2024
1 parent 82d9b05 commit 968e42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdrs-frontend/nginx/cloud.gov/buildpack.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}};
Expand Down

0 comments on commit 968e42e

Please sign in to comment.