[SOLVED] HAProxy issue 403 error

Started by cyrus104, August 31, 2022, 01:16:48 AM

Previous topic - Next topic
August 31, 2022, 01:16:48 AM Last Edit: August 31, 2022, 06:32:20 PM by cyrus104
I recently resetup HAProxy with ACME let's encrypt using a known working setup guide.

I'm getting a 403 error with the message from the guide in the body of the site.

The haproxy log shows the following each time I try to get to the page from outside my network:
Error haproxy 154.89.5.203:44012 [30/Aug/2022:19:10:22.111] default_443~ default_443/<NOSRV> 0/-1/-1/-1/0 403 203 - - PR-- 1/1/0/0/0 0/0 "GET / HTTP/1.0"

I'm happy to provide additional logs to help troubleshoot the issue.

   PR  The proxy blocked the client's request, either because of an invalid
          HTTP syntax, in which case it returned an HTTP 400 error to the
          client, or because a deny filter matched, in which case it returned
          an HTTP 403 error

Thank you for pointing me in the correct direction, in my rule no_host_match I forgot to add the condition of this hostname match.

I have fixed this error.

glad it works. thanks for the feedback