fuel-library/deployment/puppet/ceph/templates/rgw.conf.erb

20 lines
496 B
Plaintext

Listen <%= @rgw_ip %>:<%= @rgw_port %>
<VirtualHost <%= @rgw_ip %>:<%= @rgw_port %>>
ServerName <%= @fqdn %>
DocumentRoot <%= @dir_httpd_root %>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
SetEnv proxy-nokeepalive 1
ProxyPass / fcgi://127.0.0.1:9000/
## Logging
ErrorLog "<%= @dir_httpd_log %>radosgw_error.log"
CustomLog "<%= @dir_httpd_log %>radosgw_access.log" forwarded
AllowEncodedSlashes On
ServerSignature Off
</VirtualHost>