Skip to content

Instantly share code, notes, and snippets.

@nowthatsamatt
Created June 7, 2011 21:27
Show Gist options
  • Save nowthatsamatt/1013214 to your computer and use it in GitHub Desktop.
Save nowthatsamatt/1013214 to your computer and use it in GitHub Desktop.
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