(SOLVED) HAProxy Path ends with: does not redirect to the path /well-known/acme-challenge



  • I'm trying to make all the acme challenges go straight to the directory
    /usr/local/www/.well-known/acme-challenge
    more after several tests with HAProxy I realized that even changing the ACLs to
    path-matches
    path-ends
    path-contens
    the result is always the same, it does not redirect to ip-internal from pfsense, and consecutively does not find the ./well-known folder

    I appreciate all help and every opinion

    my frontend
    alt text

    mybackend
    alt text



  • I used Path-Starts-With /.well-known/acme-challange/

    Also you are missing the trailing / which tripped me up and took ages to work out.

    I used the following example

    Youtube Video



  • thank you !
    very good the video, the more I believe that my error is in the frontends, I created a standard frontend, and then I was creating new frontends sharing the first one.
    I've done different now, I'm creating the ACLs and ACTIONS directly on the default frontend

    like the image below

    Captura de Tela 2019-04-17 às 06.01.04.png
    Captura de Tela 2019-04-17 às 06.04.42.png

    This has worked well for me.


Log in to reply