-
-
Save danievanzyl/c5cfd8aed6d1e08f4a9de9c3d83752ac to your computer and use it in GitHub Desktop.
Sample pass through SSL on Haproxy
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
... | |
#create new frontend to process 443 | |
frontend https_frontend | |
bind *:443 | |
mode tcp | |
option tcplog | |
default_backend farm_docker2 | |
acl host_docker2 hdr(host) -i docker2.com | |
use_backend farm_docker2 if host_docker2 | |
... | |
#Define backend for above frontend | |
backend farm_docker2 | |
mode tcp | |
balance roundrobin | |
server web01 127.0.0.1:5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment