사용자 도구

사이트 도구


nginx:gzip

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
nginx:gzip [2014/06/18 10:39]
kwon37xi
nginx:gzip [2015/09/15 11:25]
kwon37xi
줄 11: 줄 11:
 gzip_disable     "msie6"; # 자동으로 IE6, 5.5를 감지해서 disable한다. gzip_disable     "msie6"; # 자동으로 IE6, 5.5를 감지해서 disable한다.
 # gzip_disable "MSIE [1-6]\.(?!.*SV1)"; # nginx 0.7 이하에서만 # gzip_disable "MSIE [1-6]\.(?!.*SV1)"; # nginx 0.7 이하에서만
-gzip_types text/html application/x-javascript application/javascript application/xml text/javascript application/json text/json text/css text/plain application/xhtml+xml application/rss+xml ;+gzip_types application/x-javascript application/javascript application/xml text/javascript application/json text/json text/css text/plain application/xhtml+xml application/rss+xml ;
 </code> </code>
 +
 +====== nginx 1.2 HEAD / gzip 관련 버그 ======
 +  * nginx 1.2 대에는 HEAD 요청이 들어올 때 ''Accept-Encoding: gzip, deflate''가 있으면 HEAD의 결과에 쓰레기 데이터가 쌓이는 문제가 있다.
 +  * [[http://trac.nginx.org/nginx/ticket/261|#261 (HEAD requests still have content-type when gzip on)]]
 +  * [[https://trac.nginx.org/nginx/ticket/358|HEAD request with Accept-Encoding: gzip returns a response body]]
 +  * 최신 버전으로 업그레이드하거나, HEAD에 대해 gzip을 꺼버릴 것.
 +
nginx/gzip.txt · 마지막으로 수정됨: 2015/09/15 11:25 저자 kwon37xi