我试图在nginx上找到一个代理到Netty的URL,对于一个特定的URL,我在chrome上获取net :: ERR_INCOMPLETE_CHUNKED_ENCODING,而在Safari上有时它会工作,有时则没有。
Here is the configuration:
location /service-order-api {
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host:$server_port;
proxy_pass http://service_order_api;
#proxy_read_timeout 120;
proxy_set_header X-Real-IP $remote_addr;
#proxy_buffer_size 2k;
#proxy_buffers 8 24k;
proxy_redirect off;
#proxy_buffering off;
chunked_transfer_encoding on;
}