Skip to content

Commit

Permalink
[nixos/server/homepage] add referer-policy header
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jan 1, 2025
1 parent 317e924 commit cbbd198
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/server/modules/homepage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ in
add_header X-XSS-Protection "1; mode=block";
add_header X-Frame-Options DENY;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), fullscreen=()";
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
rewrite ^/datenschutz$ /privacy permanent;
rewrite ^/impressum$ /contact permanent;
Expand Down

0 comments on commit cbbd198

Please sign in to comment.