Check if backup server is active

2020-04-08 Thread Aleksandar Lazic
Hi. I try to use automatically the backend server when the primary serve is not available. The following snipplet is my solution with haproxy (2.1.3-3ppa1~bionic). Is there a bette solution or is this a okay solution from HAProxy point of view? ``` backend be_static   log global   option

Re: Crazy anomaly!

2020-04-08 Thread Aleksandar Lazic
Hi Nicolas. On 08.04.20 20:34, Nicolas Pujol wrote: Hi, I installed haproxy and two test servers with the basic configuration of nginx + listening on port 443. The HAProxy server provides the Let's encrypt SSL certificates. When I consult the 2 sites in HTTP, I have no problem. With HTTPS

Crazy anomaly!

2020-04-08 Thread Nicolas Pujol
Hi, I installed haproxy and two test servers with the basic configuration of nginx + listening on port 443. The HAProxy server provides the Let's encrypt SSL certificates. When I consult the 2 sites in HTTP, I have no problem. With HTTPS it works *sometimes*. Mostly from smartphone but not from

Re: List of ports opened for Listening by HAProxy

2020-04-08 Thread Lukas Tribus
Hello, On Wed, 8 Apr 2020 at 13:59, kkazmierc...@wp.pl wrote: > > Hello, > We need to know which ports on the server need to be reopened in order to > appropriate work of HAProxy. Haproxy does not listen to any ports by default. It listens only to those ports that you configured haproxy to

List of ports opened for Listening by HAProxy

2020-04-08 Thread kkazmierczyk
Hello, We need to know which ports on the server need to be reopened in order to appropriate work of HAProxy. Based on www.haproxy.com www.haproxy.com I see bind proprty and stats socket property which determine on which ports the server is listening to. Are there any other ports on which

RE: [RFC] BUG/MEDIUM: Checks: support for HTTP health checks with POST and data corrupted by extra connection close

2020-04-08 Thread Kiran Gavali
Hi Christopher And Willy, Please review the RT test results. Thanks, Kiran Gavali -Original Message- From: Kiran Gavali Sent: Monday, March 30, 2020 6:59 PM To: Christopher Faulet ; Willy Tarreau Cc: haproxy@formilux.org; Shivharsh Singh ; Priya Ranjan ; Ramanpreet Singh Bakshi ;

Distance Learning Package: Bid Writing

2020-04-08 Thread NFP Workshops
NFP WORKSHOPS 18 Blake Street, York YO1 8QG Affordable Training Courses for Charities, Schools & Public Sector Organisations This email has been sent to haproxy@formilux.org CLICK TO UNSUBSCRIBE FROM LIST Alternatively send a blank e-mail to unsubscr...@nfpmail1902.co.uk quoting

Re: [*EXT*] Re: 503 SC with fcgi

2020-04-08 Thread Aleksandar Lazic
On 08.04.20 09:46, Ionel GARDAIS wrote: Oh my ! This is a chroot issue. haproxy is running in chroot but the fpm socket is outside. When placing the socket inside the jail, it works with the socket. Does the performance difference between IP and socket is worth the trouble ? I'm sure there

Re: [*EXT*] Re: 503 SC with fcgi

2020-04-08 Thread Ionel GARDAIS
Oh my ! This is a chroot issue. haproxy is running in chroot but the fpm socket is outside. When placing the socket inside the jail, it works with the socket. Does the performance difference between IP and socket is worth the trouble ? -- Ionel GARDAIS Tech'Advantage CIO - IT Team manager

Re: [*EXT*] Re: 503 SC with fcgi

2020-04-08 Thread Aleksandar Lazic
On 08.04.20 08:52, Ionel GARDAIS wrote: It works with 127.0.0.1:29001 (the listener I configured for this pool) That's an important successful test. I personally prefer the tcp way to afoid such problems. About the socket : - it lives in /run/php with $ ls -alF /run/php/speedtest-fpm.sock

Re: [*EXT*] Re: 503 SC with fcgi

2020-04-08 Thread Ionel GARDAIS
It works with 127.0.0.1:29001 (the listener I configured for this pool) About the socket : - it lives in /run/php with $ ls -alF /run/php/speedtest-fpm.sock srw-rw 1 www-data www-data 0 Apr 7 21:11 /run/php/speedtest.sock= - /run/php is owned by www-data:www-data with 755 perms $ ls -alF