fix healthcheck endpoint, health bypasses auth

This commit is contained in:
2026-06-08 17:09:13 +02:00
parent 425387ec3e
commit 7955294873
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -27,6 +27,8 @@ server {
auth_basic "Review";
auth_basic_user_file /etc/nginx/.htpasswd;
location = /health { auth_basic off; return 200 "ok"; access_log off; }
location ~ /\. { deny all; return 404; }
location ~* \.(env|conf|yml|yaml|md|sh|py|pyc|sql|bak|old|swp|log|dockerfile)$ {
deny all; return 404;