Skip to content

Commit

Permalink
Set hardening headers for social.ffmuc.net
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-master committed Jul 11, 2023
1 parent 41de865 commit fd3715b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/domains/social.ffmuc.net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ server {
location ~ ^/system/ {
add_header Cache-Control "public, max-age=2419200, immutable";
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
add_header X-Content-Type-Options nosniff;
add_header Content-Security-Policy "default-src 'none'; form-action 'none'";
try_files $uri @proxy;
}

Expand Down

0 comments on commit fd3715b

Please sign in to comment.