mirror of
https://github.com/ceph/ceph
synced 2024-12-20 18:33:44 +00:00
460bf9a097
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>
17 lines
373 B
Plaintext
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/
|