✨ feat(caddy): Met à jour la politique de sécurité du contenu pour plus de simplicité
This commit is contained in:
@@ -11,17 +11,7 @@ www.e-cosplay.fr {
|
||||
header {
|
||||
-X-Robots-Tag
|
||||
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), 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';
|
||||
"
|
||||
Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; object-src 'none'; frame-ancestors 'none';"
|
||||
}
|
||||
|
||||
php_fastcgi unix//run/php/php8.3-fpm.sock {
|
||||
|
||||
Reference in New Issue
Block a user