Brian, 

thanks 

I was wondering if you've tried to upload files with any characters like these: 
=;()@$*&+ 

Is it working out for you or does it give you a 403 error, like it does with 
me? 

I am trying to figure out how to fix it, but no one seems to know. 

Cheers 
----- Original Message -----

From: "Brian Rak" <b...@gameservers.com> 
To: "Andrei Mikhailovsky" <and...@arhont.com> 
Cc: ceph-users@lists.ceph.com 
Sent: Tuesday, 20 May, 2014 9:29:45 PM 
Subject: Re: [ceph-users] nginx (tengine) and radosgw 

I haven't tried SSL yet. We currently don't have a wildcard certificate for 
this, so it hasn't been a concern (and our current use case, all the files are 
public anyway). 


On 5/20/2014 4:26 PM, Andrei Mikhailovsky wrote: 





That looks very interesting indeed. I've tried to use nginx, but from what I 
recall it had some ssl related issues. Have you tried to make the ssl work so 
that nginx acts as an ssl proxy in front of the radosgw? 

Cheers 

Andrei 

----- Original Message -----

From: "Brian Rak" <b...@gameservers.com> 
To: ceph-users@lists.ceph.com 
Sent: Tuesday, 20 May, 2014 9:11:58 PM 
Subject: [ceph-users] nginx (tengine) and radosgw 

I've just finished converting from nginx/radosgw to tengine/radosgw, and 
it's fixed all the weird issues I was seeing (uploads failing, random 
clock skew errors, timeouts). 

The problem with nginx and radosgw is that nginx insists on buffering 
all the uploads to disk. This causes a significant performance hit, and 
prevents larger uploads from working. Supposedly, there is going to be 
an option in nginx to disable this, but it hasn't been released yet (nor 
do I see anything on the nginx devel list about it). 

tengine ( http://tengine.taobao.org/ ) is an nginx fork that implements 
unbuffered uploads to fastcgi. It's basically a drop in replacement for 
nginx. 

My configuration looks like this: 

server { 
listen 80; 

server_name *.rados.test rados.test; 

client_max_body_size 10g; 
# This is the important option that tengine has, but nginx does not 
fastcgi_request_buffering off; 

location / { 
fastcgi_pass_header Authorization; 
fastcgi_pass_request_headers on; 

if ($request_method = PUT ) { 
rewrite ^ /PUT$request_uri; 
} 
include fastcgi_params; 

fastcgi_pass unix:/path/to/ceph.radosgw.fastcgi.sock; 
} 

location /PUT/ { 
internal; 
fastcgi_pass_header Authorization; 
fastcgi_pass_request_headers on; 

include fastcgi_params; 
fastcgi_param CONTENT_LENGTH $content_length; 

fastcgi_pass unix:/path/to/ceph.radosgw.fastcgi.sock; 
} 
} 


if anyone else is looking to run radosgw without having to run apache, I 
would recommend you look into tengine :) 
_______________________________________________ 
ceph-users mailing list 
ceph-users@lists.ceph.com 
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 





_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to