ceph/tasks/mod_proxy_fcgi.uds.conf.template
Andrew Schoen 460bf9a097 Adds mod_proxy_fcgi support and makes it the default setup for rgw
This also adds a 'use_fastcgi' override config option for the rgw task.

If specified we'll configure things to use mod_fastcgi instead of
mod_proxy_fcgi.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-06-23 15:49:27 -05:00

15 lines
421 B
Plaintext

# mod_proxy_fcgi config, using UDS
<IfModule !proxy_module>
LoadModule proxy_module {mod_path}/mod_proxy.so
</IfModule>
<IfModule !proxy_fcgi_module>
LoadModule proxy_fcgi_module {mod_path}/mod_proxy_fcgi.so
</IfModule>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{{HTTP:Authorization}},L]
ProxyPass / unix://{testdir}/apache/tmp.{client}/fastcgi_sock/rgw_sock|fcgi://localhost:9000/ disablereuse=On