Created
October 16, 2020 20:29
-
-
Save vacax/b3df793613373fb1f3be7b35aa138b67 to your computer and use it in GitHub Desktop.
Configuración de HAProxy para uso de Sesiones
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
listen aplicacion_web | |
bind *:80 | |
mode http | |
stats enable | |
stats uri /stats | |
stats realm HAProxy\ Statistics | |
stats auth cda:cda | |
balance roundrobin | |
cookie SERVERID insert indirect nocache | |
server app-01 localhost:7000 check cookie s1 | |
server app-02 localhost:7001 check cookie s2 | |
server app-03 localhost:7002 check cookie s3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment