Saturday, October 31, 2020

Re: Are relayd and httpd my future buddy?

https://www.amazon.com/Relayd-Httpd-Mastery-Book-11-ebook/dp/B07171352M
Good book.
Edgar

On Oct 31, 2020 11:45 AM, Brian Brombacher <brian@planetunix.net> wrote:

> On Oct 30, 2020, at 6:32 PM, Lars Bonnesen
<lars.bonnesen@gmail.com> wrote:
>
> I have been using a combination of Apache, mod_proxy and
letsencrypt to set
> up different loadbalancing/https offload solution like this:
>
> https://URL1 [Apache
http_1]
> ---|
> https://URL2 [Apache https, mod_proxy, and letsencrypt] --- [Apache
http_2}
> ---|-- SQL
> https://URL3 [Apache
http_3]
> ---|
>
> Of coarse running on OpenBSD
>
> The URLS are typically sharing one IP and in theory the https
offload could
> also be load balanced.
>
> Even though the above setup works, I would like to use as much of
obsd base
> as possible and less packages. Thinking of httpd, letsencrypt and
relayd -
> but can it accomplish my goals about sharing IPs, loadbalancing
while also
> doing SSL offload? Or do I need to stick with Apache or maybe look
at
> another solution like haproxy?
>
> If I can use relayd for this, could someone please share a
relayd.conf
> example for me?
>
> Regards, Lars.

If you're only using mod_proxy for load balancing, yes you can do
this with httpd and relayd.

I don't have a relayd.conf sample for you but there are plenty from
the mailing list.

No comments:

Post a Comment