Permalink
Browse files

Add header X-Content-Type-Options to nginx conf

  • Loading branch information...
1 parent b78a76d commit 6f53cc5bb1231499c275928a1589dd5f434e7a33 @nono nono committed Jun 23, 2012
View
@@ -59,6 +59,8 @@
ssl_session_cache shared:SSL:2m;
ssl_ciphers HIGH:!aNULL:!MD5:!kEDH;
+ add_header X-Content-Type-Options nosniff;
+
proxy_max_temp_file_size 0;
client_max_body_size 2M;
@@ -28,6 +28,8 @@ server {
ssl_session_cache shared:SSL:2m;
ssl_ciphers HIGH:!aNULL:!MD5:!kEDH;
+ add_header X-Content-Type-Options nosniff;
+
proxy_max_temp_file_size 0;
client_max_body_size 2M;
@@ -28,6 +28,8 @@ server {
ssl_session_cache shared:SSL:2m;
ssl_ciphers HIGH:!aNULL:!MD5:!kEDH;
+ add_header X-Content-Type-Options nosniff;
+
proxy_max_temp_file_size 0;
client_max_body_size 2M;

0 comments on commit 6f53cc5

Please sign in to comment.