Hello Jürgen

Below is a link to the haproxy manual which will tell you exactly what you
wish to know.

https://www.haproxy.com/doc/aloha/7.0/haproxy/http_redirection.html

and something like this will be what you are looking to do

acl is_de path_beg -i /de
acl is_domain hdr(host) -i www.domain.com

redirect code 301 location http://www.domain.com/ if is_domain is_de



Regards

Andrew Smalley

Loadbalancer.org Ltd.



On 24 October 2016 at 09:53, Jürgen Haas <[email protected]> wrote:

> Hi all,
>
> one of my clients is looking for a wildcard redirect to get redirects
> from www.example.com/de/* to www.example.com/*
>
> I know how to do just the opposite, but for this one I couldn't find a
> solution in the documentation.
>
> Any chance that can be done?
>
>
> Thanks
> Jürgen
>
>

Reply via email to