Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # NGINX configuration, adjusted to more general case
- server {
- listen 80;
- root /dev/null;
- server_name rados.lcl;
- location / {
- fastcgi_buffering off; # Important or nginx will crash on large files!
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_pass_header Authorization;
- fastcgi_pass_request_headers on;
- fastcgi_pass unix:/var/run/rados.sock;
- include fastcgi_params;
- }
- }
- # Supervisor configuration for RADOS gateway
- [program:radosgw]
- command = /usr/bin/radosgw -d -c /etc/ceph/ceph.conf -n client.radosgw.gateway --rgw-socket-path=/var/run/rados.sock
- user = rados
- redirect_stderr = true
Advertisement
Add Comment
Please, Sign In to add comment