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.