Last active
September 26, 2016 18:27
-
-
Save davidbirdsong/b39a98567bc33930004f3e87ba5af428 to your computer and use it in GitHub Desktop.
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 gp-tls | |
bind 10.0.1.1:443 ssl crt /tmp/certs | |
bind 127.0.0.1:8001 | |
mode tcp | |
log 127.0.0.1:5114 local2 | |
option contstats | |
tcp-request inspect-delay 10s | |
tcp-request content accept if HTTP | |
tcp-request content accept if { src 127.0.0.1 } | |
acl api ssl_fc_sni -i api.foo.com | |
acl api hdr_dom(host) -i api.foo.com | |
tcp-request content reject | |
use_backend cdn-parsers if ! HTTP | |
use_backend api_b if api | |
default_backend auth-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment