Skip to content

Commit

Permalink
build: Set X-Content-Type-Options
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 4, 2024
1 parent f8b751c commit 499ed8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ server {
#access_log /var/log/nginx/host.access.log main;

add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
add_header X-Content-Type-Options "nosniff" always;

location / {
root /usr/share/nginx/html;
Expand Down

0 comments on commit 499ed8d

Please sign in to comment.