# Status page configuration (for future uptime kuma integration) # Rate limiting for status page location /status { # Basic authentication for status page auth_basic "Status Page Access"; auth_basic_user_file /etc/nginx/.htpasswd; # Placeholder for future uptime kuma integration # For now, show nginx status access_log off; return 200 '{"status": "ok", "nginx": "running", "timestamp": "$time_iso8601"}'; add_header Content-Type application/json; } # Nginx status stub (for monitoring) location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; allow 172.16.0.0/12; # Docker networks allow 192.168.0.0/16; # Private networks deny all; }