I have configured HAProxy like this:
`frontend http
bind *:80
mode http
Set X-SSL in case of ssl_fc
http-request set-header X-SSL %[ssl_fc]
# Adds http header to end of the HTTP request
reqadd X-Forwarded-Proto:\ http
# Test URI to see if its a letsencrypt request
acl url_acme_http01 path_beg /.well-known/acme-challenge/
http-request use-service lua.acme-http01 if METH_GET url_acme_http01
default_backend default
`
However, I cannot access any service on port 80 because it is entended that https will be enforced.
Instead I get a 503 error.
My previous configuration was different:
`frontend public
Listen on port 80
bind *:80
# Set X-SSL in case of ssl_fc
http-request set-header X-SSL %[ssl_fc]
# Adds http header to end of the HTTP request
reqadd X-Forwarded-Proto:\ http
#default_backend default
Hi,
I have configured HAProxy like this: `frontend http bind *:80 mode http
Set X-SSL in case of ssl_fc
`
However, I cannot access any service on port 80 because it is entended that https will be enforced. Instead I get a 503 error.
My previous configuration was different: `frontend public
Listen on port 80
`