Last active
April 7, 2016 09:42
-
-
Save m4ce/1fbd0b36310fb9625fea40e3b3141b7e to your computer and use it in GitHub Desktop.
HAProxy name based routing
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
frontend example | |
bind 0.0.0.0:80 | |
bind 0.0.0.0:443 ssl crt <pem> | |
mode http | |
option httplog | |
acl is_test hdr(host) -i test.example.org | |
use_backend test if is_test | |
default_backend welcome | |
backend test | |
.. | |
backend welcome | |
.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment