2026-09-24 04:14 UTC
You can serve static pages by using the error page config line with monitor uri
listen static-file bind :80
monitor-uri /
errorfile 200 /usr/local/etc/haproxy/errors/200.http
I also just use acme certbot (setup via puppet letsencrypt module) to do the certs and there’s a restart haproxy post script on cert update
Replies (1)
-
@lemmyvore@feddit.nl 2026-09-24 07:31
I would argue that’s a bit of a perversion 😃 but on the other hand if it can serve my static page… I’ll have to reconsider HAProxy for my stuff. Thanks!