Skip to content

Instantly share code, notes, and snippets.

@ThijsFeryn
Created January 20, 2016 12:52
Show Gist options
  • Select an option

  • Save ThijsFeryn/ff39f8da432f07f2b42b to your computer and use it in GitHub Desktop.

Select an option

Save ThijsFeryn/ff39f8da432f07f2b42b to your computer and use it in GitHub Desktop.
Combine HTTP backends & PROXY backends in HAProxy
global
daemon
defaults
mode http
frontend http-in
bind *:80
default_backend servers
backend servers
server server1 10.10.10.52:6081
frontend http-in-proxy
bind *:81
default_backend servers-proxy
backend servers-proxy
server server1-proxy 10.10.10.52:6083 send-proxy-v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment