Hi.

We use the HAProxy 2.4 image which have now HAProxy 2.4.2.
https://hub.docker.com/layers/haproxy/library/haproxy/2.4/images/sha256-d5e2a5261d6367c31c8ce9b2e692fe67237bdc29f37f2e153d346e8b0dc7c13b?context=explore

I get this message for dynamic cookies.

```
[WARNING]  (1) : We generated two equal cookies for two different servers.
Please change the secret key for 'my-haproxy'.
```

But from my point of view and for server-template and dynamic-cookie-key make 
this message no sense or am I
wrong?

Here the full haproxy config.

```
    global
    daemon
    log 127.0.0.1:8514 local1 debug
    maxconn 10000

    resolvers azure-dns
      accepted_payload_size 65535
      nameserver ocpresolver tcp@172.30.0.10:53
      resolve_retries       3
      timeout resolve       1s
      timeout retry         1s
      hold other           30s
      hold refused         30s
      hold nx              30s
      hold timeout         30s
      hold valid           10s
      hold obsolete        30s

    defaults
      mode http
      log global
      timeout connect         10m
      timeout client          1h
      timeout server          1h
      log-format "%ci:%cp [%tr] %ft %b/%s %TR/%Tw/%Tc/%Tr/%Ta %ST %B %si %sp %H %CC 
%CS %tsc %ac/%fc/%bc/%sc/%rc %sq/%bq %hr %hs %{+Q}r"

    frontend stats
      bind *:9000
      stats enable
      stats uri /stats
      stats refresh 10s
      stats admin if LOCALHOST

    listen my-haproxy
      bind :"8080" ssl crt /mnt/haproxy/certs/default.pem
      cookie PHPSESSID insert indirect nocache dynamic
      dynamic-cookie-key testphrase
      balance roundrobin

      server-template my 20 
my-cloud-service.my-namespace.svc.cluster.local:29099 resolvers azure-dns check
```

Regards
Alex

Reply via email to