Last active
June 15, 2018 15:56
-
-
Save smartXZX/6aaeba5257bf77ed770fd4cea9024e94 to your computer and use it in GitHub Desktop.
Working backend in haproxy for elasticsearch
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
| use_backend elasticsearch if { req.hdr(Host),regsub(:[0-9]+$,) -i elasticsearch.mydomain.local } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment