Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

httpd_proxy.rom

0 views

Published on

リバースプロキシで使うことを想定したApache のrpm

Published in: Technology
  • Be the first to comment

  • Be the first to like this

httpd_proxy.rom

  1. 1. SetEnv override_expires 1ExpiresActive OnExpiresByType image/jpeg"access plus 1 days"
  2. 2. <Proxy balancer://mycluster> BalancerMember http://192.168.67.10:5000 connectiontimeout=5 retry=60 quick_retry=2 quick_retry_max=10 BalancerMember http://192.168.67.11:5000 connectiontimeout=5 retry=60 quick_retry=2 quick_retry_max=10</Proxy>
  3. 3. NameVirtualHost *:80<VirtualHost *:80>    ServerName dummy.example.com DocumentRoot /somewhere    <Location /___server-status>        SetHandler server-status    </Location>    <Location /___balancer-manager>        SetHandler balancer-manager </Location></VirtualHost>
  4. 4. Fin.

×