On Sat, Jul 21, 2018 at 7:12 PM, Jonathan Matthews <cont...@jpluscplusm.com> wrote:
> On Sat, 21 Jul 2018 at 09:12, jdtommy <jdto...@gmail.com> wrote: > >> I am setting them before I start haproxy in the terminal. I tried both >> starting it as a service and starting directly, but neither worked. It >> still would not forward it along. >> > > Make sure that, as well as setting them, you're *exporting* the envvars > before asking a child process (i.e. haproxy) to use them. > > J > -- > Jonathan Matthews > London, UK > http://www.jpluscplusm.com/contact.html > As Jonathan said, plus make sure they are included/exported in the init script or systemd file for the service.