Skip to content

Commit f091adb

Browse files
authored
Merge pull request #1 from ThingsO2/BET-3201-review-optimize-logging
fix: health check doesn't generate logs
2 parents 5aad4c2 + 71d0882 commit f091adb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

default.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ server {
1010
}
1111

1212
location /health {
13+
access_log off;
14+
log_not_found off;
1315
add_header Content-Type text/html;
1416
return 200 '<html><body>OK</body></html>';
1517
}

0 commit comments

Comments
 (0)