Created
October 12, 2010 16:51
-
-
Save nowelium/622511 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
<VirtualHost *:80> | |
: | |
: | |
LogLevel warn | |
ErrorLog "|logger -p local0.err -t httpd" | |
CustomLog "|logger -p local0.info -t httpd" combined | |
: | |
: | |
</VirtualHost> | |
# 社内アクセス用 | |
<VirtualHost *:80> | |
DocumentRoot /srv/www/teritori.local | |
ServerName teritori.local | |
LogLevel warn | |
ErrorLog "|logger -p local1.err -t httpd" | |
CustomLog "|logger -p local1.info -t httpd" combined | |
ProxyRequests Off | |
ProxyPreserveHost On | |
ProxyPass ... | |
ProxyPassReverse ... | |
</VirtualHost> | |
# teritori.at | |
<VirtualHost *:80> | |
DocumentRoot /srv/www/teritori.at | |
ServerName teritori.at | |
LogLevel warn | |
ErrorLog "|logger -p local2.err -t httpd" | |
CustomLog "|logger -p local2.info -t httpd" combined | |
<Directory "/srv/www/teritori.at"> | |
SetOutputFilter DEFLATE | |
AddOutputFilterByType DEFLATE ... | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
: | |
: | |
</IfModule> | |
</Directory> | |
<Proxy balancer://app> | |
# localhost:8080 | |
BalancerMember ... loadfactor=10 keepalive=Off retry=60 disablereuse=on | |
# localhost:8081 | |
BalancerMember ... loadfactor=10 keepalive=Off retry=60 disablereuse=on | |
# localhost:8082 | |
BalancerMember ... loadfactor=10 keepalive=Off retry=60 disablereuse=on | |
# localhost:8083 | |
BalancerMember ... loadfactor=10 keepalive=Off retry=60 disablereuse=on | |
: | |
: | |
</Proxy> | |
SetEnv proxy-nokeepalive 1 | |
ProxyRequests Off | |
ProxyPreserveHost On | |
ProxyPass ... balancer://app timeout=5 lbmethod=byrequests maxattempts=1 | |
ProxyPassReverse ... balancer://app | |
</VirtualHost> | |
# pc.teritori.at | |
<VirtualHost *:80> | |
DocumentRoot /srv/www/pc.teritori.at | |
ServerName pc.teritori.at | |
LogLevel warn | |
ErrorLog "|logger -p local3.err -t httpd" | |
CustomLog "|logger -p local3.info -t httpd" combined | |
: | |
: | |
: | |
</VirtualHost> | |
# ... | |
<VirtualHost *:80> | |
: | |
: | |
LogLevel warn | |
ErrorLog "|logger -p local3.err -t httpd" | |
CustomLog "|logger -p local3.info -t httpd" combined | |
: | |
: | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment