HAProxy Enterprise Documentation 2.5r1
set dynamic-cookie-key backend
Change the value of the dynamic-cookie-key
directive.
Description
The dynamic-cookie-key
directive sets a secret key that HAProxy Enterprise uses to generate a unique session persistence cookie value for each server in a backend. Use the set dynamic-cookie-key backend
command to change the key.
Examples
Below, we set a new secret phrase, mynewphrase, for the dynamic-cookie-key
directive in the backend servers:
$ echo "set dynamic-cookie-key backend servers mynewphrase" | \
sudo socat stdio unix-connect:/var/run/hapee-2.5/hapee-lb.sock
See also
Next up
set map