uptime-kuma config
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Default configuration applied to all virtual hosts
|
||||
# Security headers and WAF rules - applied to ALL hosts (public and private)
|
||||
|
||||
# Security headers
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
|
||||
# Include block-exploits rules
|
||||
include /etc/nginx/conf.d/block-exploits.conf;
|
||||
Reference in New Issue
Block a user