Re: [pfSense] HAproxy URL Redirect

2017-05-05 Thread Daniel
Hi,

this ACLs is what i want.
Could you provide me some examples how to do?

http://foobar.com needs to be redirect to https://bar.com


-- 
Grüsse
 
Daniel

Am 05.05.17, 23:53 schrieb "List im Auftrag von PiBa" 
:

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

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

Re: [pfSense] HAproxy URL Redirect

2017-05-05 Thread PiBa

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

[pfSense] HAproxy URL Redirect

2017-05-05 Thread 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