✨ feat(caddy): Ajoute une politique de sécurité de contenu plus stricte.
This commit is contained in:
@@ -10,6 +10,17 @@ www.e-cosplay.fr {
|
||||
}
|
||||
header {
|
||||
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"
|
||||
Content-Security-Policy "
|
||||
default-src 'none';
|
||||
script-src 'self' *.cloudflare.com;
|
||||
img-src 'self' *.cloudflare.com data:;
|
||||
style-src 'self' *.cloudflare.com;
|
||||
connect-src 'self' *.cloudflare.com;
|
||||
base-uri 'self';
|
||||
form-action 'self';
|
||||
object-src 'none';
|
||||
frame-ancestors 'self';
|
||||
"
|
||||
}
|
||||
|
||||
php_fastcgi unix//run/php/php8.3-fpm.sock {
|
||||
|
||||
Reference in New Issue
Block a user