From 3e9ecd9be44c09b5a9a74bc154164818c7218e14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Sun, 26 Aug 2012 19:46:52 +0200 Subject: [PATCH 1/1] - more modules - php-fpm example --- apache-mod_proxy.conf | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/apache-mod_proxy.conf b/apache-mod_proxy.conf index 31c7afc..c4f535c 100644 --- a/apache-mod_proxy.conf +++ b/apache-mod_proxy.conf @@ -1,13 +1,21 @@ - LoadModule proxy_module modules/mod_proxy.so # FIXME: enable or disable these by default? # I'd enable if the config is secure. but i'm not sure -#LoadModule proxy_connect_module modules/mod_proxy_connect.so +#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so +#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so +#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so +#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so +#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so +#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so +#LoadModule proxy_connect_module modules/mod_proxy_connect.so +#LoadModule proxy_express_module modules/mod_proxy_express.so +#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so +#LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule proxy_http_module modules/mod_proxy_http.so -#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so -#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so +#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so +#LoadModule proxy_html_module modules/mod_proxy_html.so # Proxy Server directives. Uncomment the following lines to # enable the proxy server: @@ -24,6 +32,12 @@ ProxyRequests On # Require host .your-domain.com +# enable local fcgi proxy request, e.x for php-fpm +# +# Require ip 127.0.0.1 +# + + # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) -- 2.46.0