Merge pull request #370 from NebulousLabs/drop-health-checks-from-access-log

drop health-check endpoint from access.log
This commit is contained in:
Ivaylo Novakov 2020-12-07 14:13:11 +01:00 committed by GitHub
commit e201b8de8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ server {
location /health-check { location /health-check {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;
access_log off; # do not log traffic to health-check endpoint
proxy_pass http://health-check:3100; proxy_pass http://health-check:3100;
} }