HAProxy Enterprise Documentation 1.9r1

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 /var/run/hapee-1.9/hapee-lb.sock

See also


Next up

set map