Skip to content
Snippets Groups Projects
Commit b19d61c0 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add security headers

parent 6b74800c
No related branches found
No related tags found
1 merge request!7Replace docker compose
...@@ -15,4 +15,16 @@ ...@@ -15,4 +15,16 @@
Require all denied Require all denied
</Location> </Location>
# security headers
Header unset X-Powered-By
Header set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header set X-Frame-Options "SAMEORIGIN"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set Feature-Policy "sync-xhr 'self'"
Header set Referrer-Policy "strict-origin-when-cross-origin"
</VirtualHost> </VirtualHost>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment