use environment variables in haproxy
问题 Hoping someone can point me in the right direction. I am trying to configure HAProxy to use an environment variable (from the operating system) as part of an acl statement. So if the environment variable is set to true when HAProxy is started or reloaded then access is granted. If the environment variable is set to false then I would just want the NOSVR error to be generated. I know that if I also put in a rule that says use_backend ftp1-srv unless accessFtp then the request goes through OK