Skip to content

fix(security): add X-Content-Type-Options and Referrer-Policy headers - #682

Open
birme wants to merge 1 commit into
mainfrom
security/664-nginx-security-headers
Open

fix(security): add X-Content-Type-Options and Referrer-Policy headers#682
birme wants to merge 1 commit into
mainfrom
security/664-nginx-security-headers

Conversation

@birme

@birme birme commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • nginx -t passes (nginx unavailable in CI env; manual review confirms valid syntax)
  • Response includes X-Content-Type-Options: nosniff and Referrer-Policy: strict-origin-when-cross-origin (incl. on 4xx via always)

Closes #664

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: Add X-Content-Type-Options and Referrer-Policy headers to nginx.conf

1 participant