mod_proxy
Reverse Proxy
httpd.conf
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /app http://centos03.example.com/app
ProxyPassReverse /app http://centos03.example.com/app
KeepAliveの無効化
リバースプロクシからWebサーバへ接続した時に、KeepAliveを無効にする方法
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
mod_proxy_balancer
ProxyPass /app balancer://mycluster
<Proxy balancer://mycluster>
BalancerMember http://centos03.example.com
BalancerMember http://centos04.example.com
</Proxy>
最終更新:2009年03月06日 07:28