Commit graph

11 commits

Author SHA1 Message Date
the-djmaze 145c11d58e Set X-Frame-Options: DENY when frame_ancestors is empty 2023-02-21 19:15:21 +01:00
Veit 260ef6dc9d Remove duplicate HSTS header on Apache if mod_headers is loaded
On Apache httpd, ./.htaccess sets HSTS if mod_headers is loaded, but though ./v/0.0.0/include.php does the same if envvar "HTTPS" is set, resulting in duplicate and thus invalid HSTS headers. One needs to go.
2022-04-19 23:09:20 +02:00
djmaze 1f9e96f107 Improve Apache gzip & brotli handling 2021-08-18 20:29:51 +02:00
djmaze 6896f080e8 Resolve Issue #107 2021-08-18 16:35:37 +02:00
djmaze c1fbd8a5d2 Move Apache mod_rewrite gzip/brotli rules to /snappymail/v/0.0.0/static/ 2021-08-18 16:24:05 +02:00
djmaze 2c69da61f0 Bugfix Apache no mod_rewrite 2021-08-18 13:13:54 +02:00
djmaze c46a28a8cf Bugfix: Invalid command 'RewriteEngine'
https://github.com/Mailu/Mailu/pull/1796#issuecomment-854958765
2021-07-14 12:56:37 +02:00
djmaze 19492a714d Also prevent Google FLoC in .htaccess 2021-04-19 20:42:01 +02:00
djmaze 542d9c91e9 Changes for https://github.com/the-djmaze/snappymail/issues/37
Testing van be done at https://snappymail.eu/demo/
2020-11-09 20:14:04 +01:00
djmaze 4e4ba12770 font/woff2 missing in .htaccess 2020-10-29 11:15:25 +01:00
djmaze 4ec4771ffd Improved brotli and gzip compression paths 2020-09-11 19:57:06 +02:00