first commit

This commit is contained in:
root
2025-11-16 22:26:59 +01:00
commit af14d373fa
118 changed files with 10255 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# 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;
}