Enable Basic Auth for Netdata monitoring

- Activated auth_basic in nginx config for eckardt-monitoring.duckdns.org
- htpasswd file at C:/nginx/conf/.htpasswd

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Martin Eckardt
2025-12-28 18:27:16 +01:00
parent b34bbbbe8c
commit 0cada5aa45

View File

@@ -202,9 +202,9 @@ http {
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;
ssl_prefer_server_ciphers off;
# HTTP Basic Auth (empfohlen da Netdata keine Auth hat)
# auth_basic "Netdata Monitoring";
# auth_basic_user_file C:/nginx/conf/.htpasswd;
# HTTP Basic Auth
auth_basic "Netdata Monitoring";
auth_basic_user_file C:/nginx/conf/.htpasswd;
location / {
limit_req zone=general burst=50 nodelay;