Skip to content

Commit

Permalink
Add X-Content-Type-Options header
Browse files Browse the repository at this point in the history
For internet.nl tests. Please keep in mind that this only works on kubernetes deploys, _not_ on Github Pages.
  • Loading branch information
rjzondervan committed Jan 11, 2024
1 parent f2ee5c9 commit 1f50088
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwa/docker/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ server {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;

add_header X-Content-Type-Options nosniff;
}

#error_page 404 /404.html;
Expand Down

0 comments on commit 1f50088

Please sign in to comment.