NGINX and 100-Continue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a question about Nginx and 100-Continue.
If I use client like boto or Cyberduck all works fine,
but when I want to upload file on 100% upload, progress bar
hangs and after about 30s Cyberduck reports that 
HTTP 100-Continue timeouted.

I use nginx v1.4.1
Only when I use Apache 2 with fastcgi all works fine.

Anyone has a solution?

My nginx config is, works with socket from RADOS.

server {
        listen 80;
        server_name cli.rados *.cli.rados;
	 server_tokens off;

        client_max_body_size 1g;

        location / {
                fastcgi_pass_header Authorization;
                fastcgi_pass_request_headers on;
                        if ($request_method = PUT ) {
                                rewrite ^ /PUT$request_uri;
                        }
                include fastcgi_params;
                client_max_body_size 0;
                fastcgi_busy_buffers_size 512k;
                fastcgi_buffer_size 512k;
                fastcgi_buffers 16 512k;
                fastcgi_read_timeout 2s;
                fastcgi_send_timeout 1s;
                fastcgi_connect_timeout 1s;
                fastcgi_next_upstream error timeout http_500 http_503;

                fastcgi_pass unix:/var/run/radosgw.sock;
        }

        location /PUT/ {
                internal;
                fastcgi_pass_header Authorization;
                fastcgi_pass_request_headers on;
                include fastcgi_params;
                client_max_body_size 0;
                fastcgi_param CONTENT_LENGTH $content_length;
                fastcgi_busy_buffers_size 512k;
                fastcgi_buffer_size 512k;
                fastcgi_buffers 16 512k;

                fastcgi_pass unix:/var/run/radosgw.sock;
        }
# end of http
}

Best Regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140529/13909818/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux