Skip to content

Instantly share code, notes, and snippets.

@sqrtofsaturn
Created October 28, 2015 01:06
Show Gist options
  • Save sqrtofsaturn/c600ca156d9826dd944e to your computer and use it in GitHub Desktop.
Save sqrtofsaturn/c600ca156d9826dd944e to your computer and use it in GitHub Desktop.
defaults
log global
mode http
option httplog
option dontlognull
backend vulcand
balance leastconn
option forwardfor
server vulcand meshblu-messages.octoblu.com:80
http-request set-header Host meshblu-messages.octoblu.com
backend old_meshblu
balance leastconn
option forwardfor
server meshblu meshblu.octoblu.com:80
http-request set-header Host meshblu.octoblu.com
frontend http-in
bind :6000
acl is_authenticate path_beg /authenticate
use_backend vulcand if is_authenticate
default_backend old_meshblu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment