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
(http://letsencrypt-1.png)
Real Servers
(http://haproxy-realservers.png)
Backend
(http://haproxy-backend.png)
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
Frontend
(http://haproxy-frontend-1.png)
(http://haproxy-frontend-2.png)
Condition
(http://haproxy-condition.png)
Rules
(http://haproxy-rule.png)
Map
(http://haproxy-map.png)
Error
(http://cert-esxi.png)
(http://cert-vmware.png)
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 ?
Nevermind it is working