diff --git a/nginx.conf b/nginx.conf index 22f3212c..840c0a1e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,8 +15,11 @@ http { root /usr/share/nginx/html; index index.html; error_page 404 /404.html; + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; + add_header X-Frame-Options "DENY" always; add_header X-Content-Type-Options nosniff always; add_header Referrer-Policy strict-origin-when-cross-origin always; + add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always; location ~* \.(css|js|svg|png|jpg|ico|woff2?)$ { expires 7d; add_header Cache-Control "public";