Files
docker-infrastructure/nginx-proxy-acme/conf/vhost.d/default
T
2026-01-25 14:43:24 +00:00

13 lines
533 B
Plaintext

# 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;