Hi Shawn,

Le 13/07/2023 à 18:48, Shawn Heisey a écrit :
Looks like on my last edit I deleted it and didn't add it to defaults, so I was wrong in what I said.  It throws a different error when added to defaults:

elyograg@bilbo:~$ sudo haproxy -dD -c -f /etc/haproxy/haproxy.cfg
[NOTICE]   (521883) : haproxy version is 2.8.1
[NOTICE]   (521883) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (521883) : config : parsing [/etc/haproxy/haproxy.cfg:32] : unknown keyword 'httpclient.resolvers.prefer' in 'defaults' section [ALERT]    (521883) : config : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
[ALERT]    (521883) : config : Fatal errors found in configuration.

Because it should be in the global section, not the defaults one ;)

--
Cyril Bonté


Reply via email to