Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix: make referer policy header less strict in prod (for rails)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Apr 28, 2024
1 parent 07a715e commit 6de2896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/options-security.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_header Referrer-Policy "no-referrer" always;
add_header Referrer-Policy "same-origin" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
Expand Down

0 comments on commit 6de2896

Please sign in to comment.