PUT support for chunked encoding with no Content-Length header
Aaron Nichols
anichols at trumped.org
Mon Apr 26 18:03:11 MSD 2010
On Sun, Apr 25, 2010 at 9:14 PM, agentzh <agentzh at gmail.com> wrote:
> Could you please paste out your configuration?
Yes - I've tried a few variations but here's the last one w/ chunkin
module enabled:
worker_processes 1;
error_log /var/log/nginx/error.log info;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
server {
listen 7500;
server_name localhost;
chunkin on;
error_page 411 = @my_411_error;
location @my_411_error {
chunkin_resume;
}
location / {
root /var/mogdata;
expires max;
client_max_body_size 20m;
dav_methods put delete mkcol copy move;
dav_access user:rw group:rw all:r;
create_full_put_path on;
autoindex on;
index index.html index.htm;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
More information about the nginx
mailing list