Just keep in mind that HAProxy is only a proxy (technically a performance-oriented load-balancer). It’s not a web server.
I mention it because some of us also rely on our reverse proxy to serve small static webpages for various purposes (I serve a small status page generated by a cron script, for example).
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!
NarrativeBear@lemmy.world 1 week ago
HAProxy seems like it’s always overlooked. I have been using it for years myself, pretty solid and just works.
If you run pfSense you can also use HAProxy with a GUI.
lemmyvore@feddit.nl 1 week ago
Just keep in mind that HAProxy is only a proxy (technically a performance-oriented load-balancer). It’s not a web server.
I mention it because some of us also rely on our reverse proxy to serve small static webpages for various purposes (I serve a small status page generated by a cron script, for example).
Devnullit@lemmy.dbzer0.com 1 week ago
You can serve static pages by using the error page config line with monitor uri
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
lemmyvore@feddit.nl 6 days ago
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!
confusedpuppy@lemmy.dbzer0.com 1 week ago
I also make use of Caddy’s built in file server to serve static pages so this is good to know about HAProxy