Hi Daniel,
For https its not possible without serving a valid certificate for the requested domain or requirering the user to click through warnings.. Setup acme package for all your domains together with haproxy and get the certs for free (assuming publicly reachable sites) .?.

Other than that you can use acl's to match foo/foobar hostnames and then perform a action to redirect..

Regards,
PiBa-NL

Op 5-5-2017 om 21:48 schreef Daniel:
Hi there,

i have a hopefully a quick questions ;)

I have serval Domains and just one SSL Certificate. I bought a Certificate for 
bar.com

Now I have foo.com and foobar.com on the same Loadbalancer (HAProxy on  pfSense)
I just wanted to Redirect all URLs to bar.com. How can I setup this rule?

--
GrĂ¼sse

Daniel
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to