production hardening: future-date guard, per-day hour cap, totalHours in history, header cleanup
This commit is contained in:
@@ -12,11 +12,9 @@ server {
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
# Security headers
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
# Security headers (X-Frame-Options, HSTS, X-Content-Type-Options set by Caddy)
|
||||
add_header X-XSS-Protection "0" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
|
||||
|
||||
# Gzip compression
|
||||
gzip on;
|
||||
|
||||
Reference in New Issue
Block a user