Last active
January 19, 2020 16:20
-
-
Save tsh-code/afbdb26e812f9ea0853719276225ebfb to your computer and use it in GitHub Desktop.
Sticky Session 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
backend backends | |
balance leastconn | |
cookie serverid insert | |
server srv1 127.0.0.1:8081 check cookie srv1 | |
server srv2 127.0.0.1:8082 check cookie srv2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment