httpd_proxy.rom

2,464 views

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,464
On SlideShare
0
From Embeds
0
Number of Embeds
839
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 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.

    ×