mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-12 09:42:41 +01:00
Remove remaining ties to nlss/php-nginx:7.4 image
This commit is contained in:
11
rootfs/etc/nginx/nginxconfig.io/security.conf
Normal file
11
rootfs/etc/nginx/nginxconfig.io/security.conf
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user