Part I - Another HAPROXY request

Started by CHW1979, September 29, 2020, 10:54:20 AM

Previous topic - Next topic
September 29, 2020, 10:54:20 AM Last Edit: September 29, 2020, 11:00:05 AM by CHW1979
First off all - i'm a NOOB and I know there are already many threads about HAPROXY but I can't figure out a simple configuration  ::)

I'ved followed a thread but I can't find URL - it was on this forum

Goal
subdomain1.domain.be    server1:443
subdomain2.domain.be   server2:443

Already done
Certificates by Letsencrypt


Real Servers


Backend


When I use one real server the right certificate is picked up - when I want to server multiple subdomains the wrong certificate is issued - internal servers have the same name as certificate

Maybe I give to much inside information but it is only a labo ;)

If someone wants to login to OPNSense - be my guest  ;)

Nice added value - HTTP to HTTPS would be nice

Many thanks en apologies for opening another HAPROXY thread

September 29, 2020, 10:56:16 AM #1 Last Edit: September 29, 2020, 11:00:13 AM by CHW1979
Frontend



Condition


Rules

September 29, 2020, 10:57:25 AM #2 Last Edit: September 29, 2020, 11:00:22 AM by CHW1979
Map


Error


I've read that I need only 1 Public

No certifcates are 'OK' but all subdomains are pointing to the same server

https://router.haaas.be/
https://vmware.haaas.be/
https://esxi.haaas.be/

Something to do with rules ?