19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
# roundcube headers
|
|
add_header Content-Security-Policy "default-src 'none'; frame-src 'self'; connect-src 'self'; object-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self'; frame-ancestors 'self'; form-action 'self'; base-uri poczta.linuxiarz.pl webmail.linuxiarz.pl" 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 Strict-Transport-Security "max-age=31536000" always;
|
|
add_header Permissions-Policy "fullscreen=(self), geolocation=*" always;
|
|
add_header Cross-Origin-Embedder-Policy "unsafe-none; report-to=default" always;
|
|
add_header Cross-Origin-Opener-Policy "unsafe-none; report-to=default" always;
|
|
add_header Cross-Origin-Resource-Policy "cross-origin" always;
|
|
|
|
location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
|
deny all;
|
|
}
|
|
|
|
location ~ ^/(bin|SQL|config|temp|logs)/ {
|
|
deny all;
|
|
}
|