Created
June 7, 2011 21:27
-
-
Save nowthatsamatt/1013214 to your computer and use it in GitHub Desktop.
This file contains 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
global | |
daemon | |
maxconn 256 | |
log 127.0.0.1 local0 info | |
defaults | |
mode http log | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms | |
log global | |
frontend http-in | |
bind *:80 | |
acl blogacl url_sub blog | |
use_backend blog if blogacl | |
use_backend ruby unless blogacl | |
backend ruby | |
server server1 127.0.0.1:8081 | |
backend blog | |
server server2 127.0.0.1:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment