1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

Add HSTS to the control panel headers (#879)

This commit is contained in:
Michael Kroes 2016-07-29 15:01:40 +02:00 committed by Joshua Tauberer
parent 8844a9185f
commit 4e3cfead46

View File

@ -9,6 +9,7 @@
add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options nosniff;
add_header Content-Security-Policy "frame-ancestors 'none';";
add_header Strict-Transport-Security max-age=31536000;
}
# ownCloud configuration.