server {
listen 80;
client_max_body_size 500m;
location / {
fastcgi_pass_header Authorization;
fastcgi_pass_request_headers on;
include fastcgi_params; #and comment fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_keep_conn on;
fastcgi_pass 127.0.0.1:2374; #If you are using my commit a14bae6049
# fastcgi_pass unix:/var/run/ceph/client.radosgw.ceph-radosgw-2 ; #Or this one for a classic unix socket
}
}
On Fri, Feb 15, 2013 at 8:25 PM, Caleb Miles <caleb.miles@xxxxxxxxxxx> wrote:
Hello Guilhem,
I'm not that familiar with NGINX, but I would love to try and help.
Could you provide your NGINX configuration so I can duplicate your
setup?
Caleb
> _______________________________________________
On Fri, Feb 15, 2013 at 8:59 AM, Guilhem LETTRON <guilhem@xxxxxxxxxx> wrote:
> Hi,
>
> After some tests, I'm able to work with nginx.
>
> I found a "bug" but it can be a problem with my configuration.
> My rgw version is 0.56.3.
>
> With defaults nginx fastcgi_params
> (https://github.com/nginx/nginx/blob/master/conf/fastcgi_params) I got an
> error :
> {"Code":"InvalidArgument"}
>
> I found that it's "fastcgi_param CONTENT_LENGTH $content_length;" who
> break rgw.
>
> If I comment this line, all is working without problem.
>
> Has anyone experimented the same?
>
>
> Guilhem Lettron
> Youscribe - www.youscribe.com
>
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com