@atregent wrote:
Hello,
I’m new to HAProxy and need some help to configure the cookie expiration date, all information I find online is either from old versions or doesn’t match my configuration. See below my current configuration. Any advise would be appreciated. Thx!
frontend http_front
bind :80
bind :443
maxconn 20000
stats uri /haproxy?stats
default_backend http_backbackend http_back
mode http
balance roundrobin
option forwardfor
cookie MyCookieName insert indirect nocache
server Server1 .server1.mydomain.com:80 weight 5 check cookie CookieName
server Server2 server2.mydomain.com:443 weight 95 check ssl verify none cookie MyCookieName
Posts: 9
Participants: 2