Translating directives like reqirep and rspirep

2021-03-03 Thread spfma . tech
Hi, I am trying to use this example https://www.haproxy.com/de/blog/howto-write-apache-proxypass-rules-in-haproxy/ but it seems a bit buggy, and the directives used are deprecated. Is it me or i a "server" directive missing in the example ? What I am trying to transparently proxy :

Re: Apache Proxypass mimicing ?

2021-02-23 Thread spfma . tech
Le 22-Feb-2021 14:02:46 +0100, al-hapr...@none.at a crit: Hi. On 22.02.21 01:31, Igor Cicimov wrote: > > But if I do some configuration tweaks in "wp-config.php", like adding the > following two lines : > define('WP_HOME', 'https://front1.domain.local '); > define('WP_SITEURL',

Apache Proxypass mimicing ?

2021-02-18 Thread spfma . tech
Hi, I would like to setup a reverse proxy with SSL termination to allow something like : https://front1.domain proxying http://back1.otherdomain:8000 (and maybe one day back2) https://front2.domain proxying http://back3.otherdomain:5000 Common things I already configured using Apache's

Adding "Content-Type" and other needed headers in the response

2022-06-28 Thread spfma . tech
Hi, I have a problem to solve : I never paid attention to the fact HAProxy (2.5.1-86b093a) did not return HTTP headers in the reponses, because there was no complaints so far. But now we got one, because of an old application which needs at least "Content-Type" as some tests are performed

Re: Adding "Content-Type" and other needed headers in the response

2022-06-28 Thread spfma . tech
Hi, Thanks for you answer. I have just added "http-after-response add-header Content-Type 'text/html'" at the FE level and now I have the required header. Nice improvement but is there a way to extract the headers and their values coming from the BE and inject them the same way, instead

V2.3 allow use of TLSv1.0

2022-06-09 Thread spfma . tech
Hi, I need to enable TLS V1.0 because of some legacy clients which have just been "discovered" and won't be updated. As far as I can see, my executable has been compiled with the right support : HA-Proxy version 2.3.20-1ppa1~focal 2022/04/29 - https://haproxy.org/ OpenSSL library supports

Re: V2.3 allow use of TLSv1.0

2022-06-09 Thread spfma . tech
Hi, Thanks for your answer. I have tried the generated config from this wonderful site, but no improvement. So here is the output of the haproxy command : HA-Proxy version 2.3.20-1ppa1~focal 2022/04/29 - https://haproxy.org/ Status: End of life - please upgrade to branch 2.4. Known

Re: V2.3 allow use of TLSv1.0

2022-06-09 Thread spfma . tech
Hi, Thanks for your answer. Yes, that's a lot of informations ! I will give a try to this link, I was trying to adapt a similar solution for another version :-) Regards Le 09-Jun-2022 10:06:49 +0200, al-hapr...@none.at a crit: Hi spfma.tech. Uff, the mail is quite hard to read but looks

Re: Adding "Content-Type" and other needed headers in the response

2022-07-19 Thread spfma . tech
Hi, Sorry to add a little up but I need to know if there is a way to send existing headers from the backend to the frontend, or if I have to ask the devs to modify their code and remove some tests. Regards Le 28-Jun-2022 13:54:22 +0200, spfma.t...@e.mail.fr a crit: Hi, Thanks for you