I really hope someone can point me in the right direction. I have the following setup:
modem → pfsense → managed switch → server (unraid)
- In the unraid server I have 3 dockers
- speedtest running on http
- akaunting running on http
- nextcloud running on https:
In cloudflare I created 3 A records and used Dynamic DNS to update cloudflare dns.
In pfsense I used ACME to create the required certificates through cloudflare
In pfsense I use firewall rules to open port 80 and 443
In HAproxy I created 3 backends
- In HAproxy I created 2 frontends
- Jarvis (This one is for 443)
Settings as follows:
Now here if I try to go to:
a. http://speedtest.domain.com it gives me an error, which is correct as I am not looking for this domain on port 80.
b. https://speedtest.domain.com takes me to the right docker with a validated certificate as it should
c. If I go to https://akaunting.domain.com it gives me a “This site can’t be reached error”
I created the following just to test HTTP and I want to remove this.
2. Jarvis-80 (This one is for 80)
Settings a follows:
d. After creating the above, if I go to http://akaunting.domain.com, it shows up fine but says connection is not secure.
What am I doing wrong that speedtest shows up properly on https but akaunting does not? Can someone please help me? Nextcloud works fine on ssl