Remove remaining ties to nlss/php-nginx:7.4 image

This commit is contained in:
2023-01-20 18:00:51 +01:00
parent 6d526d71e1
commit e344128779
10 changed files with 138 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
# security headers
add_header X-Frame-Options "SAMEORIGIN" always;
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: data: blob: 'unsafe-inline'" always;
# . files
location ~ /\.(?!well-known) {
deny all;
}