Skip to content

Commit c3ce2c2

Browse files
committed
Include X-Content-Type-Options: nosniff header for files under /assets
[ci skip]
1 parent 63a57ea commit c3ce2c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/nginx.conf.erb

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ http {
3939

4040
location ~ ^/assets/ {
4141
add_header Strict-Transport-Security "max-age=31536000" always;
42+
add_header X-Content-Type-Options nosniff;
4243
add_header Cache-Control public;
4344
root dist;
4445
expires max;

0 commit comments

Comments
 (0)