Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4726

How to set cookie expiration date

$
0
0

@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_back

backend 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

Read full topic


Viewing all articles
Browse latest Browse all 4726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>