• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

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

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 2 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    luciano_frc
    last edited by luciano_frc Apr 19, 2019, 10:39 AM Apr 16, 2019, 1:25 AM

    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

    1 Reply Last reply Reply Quote 0
    • V
      veldthui
      last edited by veldthui Apr 16, 2019, 2:26 AM Apr 16, 2019, 2:24 AM

      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

      https://www.youtube.com/watch?v=5Frn96oADOU

      1 Reply Last reply Reply Quote 0
      • L
        luciano_frc
        last edited by Apr 17, 2019, 9:06 AM

        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.

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received