瀏覽代碼

Nginx disable msie_padding (#4694)

* Nginx disable msie_padding
disables adding comments to responses for MSIE clients with statusgreater than 400
to increase the response size to 512 bytes.

* Change position
Joan Miquel 6 年之前
父節點
當前提交
22de449349
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frameworks/C/nginx/nginx.conf

+ 1 - 0
frameworks/C/nginx/nginx.conf

@@ -15,6 +15,7 @@ http {
     include       /etc/nginx/mime.types;
     access_log off;
     server_tokens off;
+    msie_padding off;
 
     sendfile off; #default
     tcp_nopush off; #default