Skip to content

Commit

Permalink
add health check to staging and production (#5506)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa authored Nov 5, 2024
1 parent e219d34 commit 2babc0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/geaccirc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ server {
proxy_cache geaccirc-prodcache;
limit_req zone=geaccirc-prod-ratelimit burst=20 nodelay;
proxy_intercept_errors on;
health_check interval=10 fails=3 passes=2;
health_check uri=/health.json interval=10 fails=3 passes=2;
}

include /etc/nginx/conf.d/templates/errors.conf;
Expand Down
1 change: 1 addition & 0 deletions roles/nginxplus/files/conf/http/geaccirc_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ server {
proxy_intercept_errors on;
proxy_cache geaccirc-stagingcache;
limit_req zone=geaccirc-staging-ratelimit burst=20 nodelay;
health_check uri=/health.json interval=10 fails=3 passes=2;
}

include /etc/nginx/conf.d/templates/errors.conf;
Expand Down

0 comments on commit 2babc0d

Please sign in to comment.