Hi Mark.

Mark Holmes wrote on 28.09.2017:

> This is a simple question which I’m sure has a simple answer
>  
> If I want to redirect
>  
> http://nuget.biuk.bi.corp/nuget
>  
> to
>  
> http://nuget.biuk.bi.corp/nuget/BIW.Nexus
>  
> What is the simplest way? I read up on reqrep but have a feeling I’m 
> overcomplicating it..

http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#redirect
http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-http-request
http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-http-response

Vor example.

acl nuget url_beg /nuget
redirect location http://nuget.biuk.bi.corp/nuget/BIW.Nexus if nuget

But this is just a quick shot.

If you share more information I'm sure we can help you better, it the 
quick shot does not help.

haproxy -vv
relevant snippletes from the config.
What have you tried until now?

> Thanks!
>  
> Mark

-- 
Best Regards
Aleks


  • Redirect Mark Holmes
    • Re: Redirect Aleksandar Lazic

Reply via email to