Answer the question
In order to leave comments, you need to log in
How to set errorfile in haproxy, default_backend?
Hello everyone
Plz tell me how to set errorfile in default_backend?
I looked at the docks (although I ran through my eyes, I didn’t really delve into it), I read Google, I did this:
frontend:
...
default_backend example-bck
backend example-bck
mode http
errorfile 403 /etc/haproxy/errors/403.http
<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question