11 lines
692 B
Text
11 lines
692 B
Text
|
|
# Géré par Ansible (rôle portail). En-têtes communs à tous les sites HTTPS.
|
||
|
|
# La Content-Security-Policy du portail est posée par Laravel
|
||
|
|
# (App\Http\Middleware\PolitiqueSecuriteContenu) : elle dépend de la page.
|
||
|
|
# Attention : un add_header dans un bloc location masque ceux du server.
|
||
|
|
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains" always;
|
||
|
|
add_header X-Content-Type-Options "nosniff" always;
|
||
|
|
add_header X-Frame-Options "DENY" always;
|
||
|
|
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||
|
|
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=()" always;
|
||
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|