Apparently Nginx now supports Chunked, but I receive error "411 Length Required" when a tablet device sends a Chunked request to Nginx. Any advice as to how to configure Nginx to support Chunked? I'm using v.1.3.9.
I know a similar question was asked, but it was in 2010 before chunked was supported in Nginx.
My nginx.conf:
master_process off;
worker_processes 1;
daemon off;
pid /usr/nginx/logs/nginx.pid;
events {
worker_connections 1024;
}
http {
ngao_filters_directory /usr/nginx/filters;
include mime.types;
default_type application/octet-stream;
# prevent caching by client
add_header Cache-Control "no-store, no-cache";
sendfile on;
keepalive_timeout 65;
server {
listen 8081;
server_name localhost;
client_max_body_size 3m;
chunked_transfer_encoding on;
scgi_temp_path /usr/nginx/scgi_temp;
uwsgi_temp_path /usr/nginx/uwsgi_temp;
location / {
proxy_buffering off;
proxy_pass http://10.0.2.20:79;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
} } }