Re: rgw + nginx

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

 



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
        }
}

Guilhem Lettron
Ingénieur - Architecte système
Youscribe - www.youscribe.com


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

[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