Re: Fwd: Set environment variables

2022-05-17 Thread Valerio Pachera
Il giorno ven 13 mag 2022 alle ore 16:10 Willy Tarreau ha scritto: > Hi Valerio, > > On Mon, May 09, 2022 at 10:14:09AM +0200, Valerio Pachera wrote: > > Unfortunately I'm not a developer so it will take too much time form me > to > > contribute to the code. > > I've just implemented it in

Re: Fwd: Set environment variables

2022-05-13 Thread Willy Tarreau
Hi Valerio, On Mon, May 09, 2022 at 10:14:09AM +0200, Valerio Pachera wrote: > Unfortunately I'm not a developer so it will take too much time form me to > contribute to the code. I've just implemented it in 2.6-dev as this commit: https://github.com/haproxy/haproxy/commit/973cf90714 Once

Re: Fwd: Set environment variables

2022-05-11 Thread Willy Tarreau
On Mon, May 09, 2022 at 10:14:09AM +0200, Valerio Pachera wrote: > Thank you very much willy for your reply. > Unfortunately I'm not a developer so it will take too much time form me to > contribute to the code. No problem, do not worry. I've added an issue for this one:

Re: Fwd: Set environment variables

2022-05-09 Thread Valerio Pachera
Il giorno dom 8 mag 2022 alle ore 11:07 Willy Tarreau ha scritto: > > With that said, I admit that it could be useful to have another variable > such as HAPROXY_SERVER_SSL to indicate if SSL is being used, and possibly > another one such as HAPROXY_SERVER_PROTO to indicate when a protocol is >

Re: Fwd: Set environment variables

2022-05-08 Thread Willy Tarreau
Hi Valerio, On Fri, May 06, 2022 at 04:25:23PM +0200, Valerio Pachera wrote: > Hi, I have several backend configuration that make use of a custom script: > > external-check command 'custom-script.sh' > > The script read uses the environment variables such as $HAPROXY_PROXY_NAME. > I would like