ceph/tasks/mod_proxy_fcgi.tcp.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

17 lines
373 B
Plaintext

# mod_proxy_fcgi config, using TCP
<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]
SetEnv proxy-nokeepalive 1
ProxyPass / fcgi://0.0.0.0:9000/