mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
doc: Distro specific rgw.conf example.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
This commit is contained in:
parent
75606e98bb
commit
bd22cac9b2
30
doc/radosgw/rgw-centos.conf
Normal file
30
doc/radosgw/rgw-centos.conf
Normal file
@ -0,0 +1,30 @@
|
||||
FastCgiExternalServer /var/www/html/s3gw.fcgi -socket /var/run/ceph/client.radosgw.gateway.asok
|
||||
|
||||
|
||||
<VirtualHost *:80>
|
||||
|
||||
ServerName {fqdn}
|
||||
<!--Remove the comment. Add a server alias with *.{fqdn} for S3 subdomains-->
|
||||
<!--ServerAlias *.{fqdn}-->
|
||||
ServerAdmin {email.address}
|
||||
DocumentRoot /var/www/html
|
||||
RewriteEngine On
|
||||
RewriteRule ^/(.*) /s3gw.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
||||
|
||||
<IfModule mod_fastcgi.c>
|
||||
<Directory /var/www/html>
|
||||
Options +ExecCGI
|
||||
AllowOverride All
|
||||
SetHandler fastcgi-script
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
AuthBasicAuthoritative Off
|
||||
</Directory>
|
||||
</IfModule>
|
||||
|
||||
AllowEncodedSlashes On
|
||||
ErrorLog /var/log/httpd/error.log
|
||||
CustomLog /var/log/httpd/access.log combined
|
||||
ServerSignature Off
|
||||
|
||||
</VirtualHost>
|
Loading…
Reference in New Issue
Block a user