Created
March 9, 2014 04:02
-
-
Save davidbirdsong/9442754 to your computer and use it in GitHub Desktop.
switch between tls and raw tcp based on a small inspection
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
| frontend hekad-server | |
| bind :30514 | |
| mode tcp | |
| option contstats | |
| tcp-request inspect-delay 10s | |
| tcp-request content accept if { req.ssl_ver gt 0 } | |
| tcp-request content accept if { src 10.0.0.0/8 } | |
| tcp-request content accept if { src 127.0.0.1 } | |
| tcp-request content reject | |
| use_backend heka_agg_tls if { req.ssl_ver gt 0 } | |
| default_backend heka_agg_raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment