Commit 4e3cfead authored by Michael Kroes's avatar Michael Kroes Committed by Joshua Tauberer

Add HSTS to the control panel headers (#879)

parent 8844a918
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
add_header X-Frame-Options "DENY"; add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header Content-Security-Policy "frame-ancestors 'none';"; add_header Content-Security-Policy "frame-ancestors 'none';";
add_header Strict-Transport-Security max-age=31536000;
} }
# ownCloud configuration. # ownCloud configuration.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment