mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +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>
15 lines
421 B
Plaintext
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
|