Skip to content

Commit

Permalink
Client & welcome: Add security headers to the apache config
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Nov 7, 2023
1 parent d6167b2 commit c9c7797
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/docker/appconf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ DocumentRoot /var/www/
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Expires "Sun, 8 Jun 1986 08:06:00 GMT"
</FilesMatch>

Header always set X-Frame-Options "DENY"
Header always set Referrer-Policy "origin-when-cross-origin"
Header always set X-Content-Type-Options "nosniff"
3 changes: 3 additions & 0 deletions welcome/docker/appconf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Expires "Sun, 8 Jun 1986 08:06:00 GMT"
</FilesMatch>

Header always set X-Frame-Options "DENY"
Header always set Referrer-Policy "origin-when-cross-origin"
Header always set X-Content-Type-Options "nosniff"

0 comments on commit c9c7797

Please sign in to comment.