OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: edfsr on March 08, 2024, 11:15:12 PM

Title: Tutorial 2024/02: HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating
Post by: edfsr on March 08, 2024, 11:15:12 PM
Carefully followed this tutorial from start to finish.  I have multiple (6) domains accessed through a single dyndns IP.  I have four physical servers ... one http/https web servers, two mail servers accessed via web mail, one Nextcloud server ... all receiving http/https traffic.  All these systems are online and functioning.  Creating a NAT rule in OPNsense causes the respecting sites to be visible immediately.

But after finishing the tutorial setup on my OPNsense firewall and rebooting the system, all I receive is:
"503 Service Unavailable
No server is available to handle this request"

I'm mystified, because the tutorial seems to work perfectly for others.

Any ideas about what may be the problem?
Title: Re: Tutorial 2024/02: HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating
Post by: edfsr on March 21, 2024, 02:15:36 PM
My Public and Local Subdomain mapfiles both look like this:

*****.org            *****064070_backend
*****.com            *****064070_backend
*****.net            *****064070_backend
*****.com            *****064070_backend
************.org     *****064070_backend
nextcloud.*****.net   nextcloud.*****.net_backend

Nothing is implemented to direct traffic to the web interfaces on my web servers.  Right now I'm simply wanting to direct traffic to my web servers.  When my web servers can respond to requests, then I will implement traffic to the mail server web interfaces.
Title: Re: Tutorial 2024/02: HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating
Post by: edfsr on March 21, 2024, 07:33:16 PM
Here are some screenshots of my configuration
Title: Re: Tutorial 2024/02: HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating
Post by: edfsr on March 21, 2024, 07:35:03 PM
One last screenshot.  If you see a misconfiguration, please let me know