Skip to content

Commit

Permalink
feat(infra): add X-Content-Type-Options: nosniff header, starting wit…
Browse files Browse the repository at this point in the history
…h staging

It prevents browsers from incorrectly detecting non-scripts as scripts
  • Loading branch information
cedricss committed Aug 13, 2024
1 parent 3528162 commit 944a44d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/traefik/config/dynamic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ http:
customResponseHeaders:
Content-Security-Policy: "frame-ancestors 'self'; object-src 'none'; img-src 'self' data: https: ; script-src 'self' https://static.userguiding.com https://public.produktly.com https://matomo.fabrique.social.gouv.fr 'unsafe-inline'"
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff

removePath:
replacePath:
Expand Down

0 comments on commit 944a44d

Please sign in to comment.