Created
January 20, 2016 12:52
-
-
Save ThijsFeryn/ff39f8da432f07f2b42b to your computer and use it in GitHub Desktop.
Combine HTTP backends & PROXY backends in HAProxy
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
| 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