Skip to content

Instantly share code, notes, and snippets.

@vacax
Created October 16, 2020 20:52
Show Gist options
  • Save vacax/006353d26dd137071a4a54ab0fad0ed9 to your computer and use it in GitHub Desktop.
Save vacax/006353d26dd137071a4a54ab0fad0ed9 to your computer and use it in GitHub Desktop.
Configuración HAProxy sobre escribiendo la sesiones.
listen aplicacion_web
bind *:80
mode http
stats enable
stats uri /stats
stats realm HAProxy\ Statistics
stats auth cda:cda
balance roundrobin
cookie JSESSIONID prefix nocache
server app-01 localhost:7000 check
server app-02 localhost:7001 check
server app-03 localhost:7002 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment