nginx net::ERR_INCOMPLETE_CHUNKED_ENCODING 크롬에서 nginx 로 페이지 요청 시 페이지가 로딩되지 않고net::ERR_INCOMPLETE_CHUNKED_ENCODING 에러가 발생하는 경우 해결방법 nginx 설정에proxy_buffering: off; 설정을 추가한다.
nginx cache 설정 location ~ .(php|html|htm)$ { proxy_pass http://apache; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_read_timeout 20; proxy_connect_timeout 20; client_body_temp_path /opt/webapps/nginx/client_body_temp; # Backend Apache서버에 심한 부하 발생시 캐시 적용 # 페이지를 캐시할 수 있다. 이때 사용자 로그인은 되지 않는다.(주의) proxy_cache one; proxy_hide_header Set-Cookie; proxy_cache_valid any 1m; # 1분간 캐시 한다. }