2023-09-26 15:03:01 -04:00
|
|
|
# security headers
|
2023-09-26 15:51:30 -04:00
|
|
|
add_header X-XSS-Protection "1; mode=block" always;
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
add_header Referrer-Policy "no-referrer-when-downgrade" always;
|
|
|
|
add_header Content-Security-Policy "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
|
|
|
|
add_header Permissions-Policy "interest-cohort=()" always;
|
2023-09-26 15:03:01 -04:00
|
|
|
|
|
|
|
# . files
|
|
|
|
location ~ /\.(?!well-known) {
|
2023-09-26 15:51:30 -04:00
|
|
|
deny all;
|
|
|
|
}
|