Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

Redirect with all headears

$
0
0

@namhq.1989 wrote:

I want to redirect all requests from abc.com to xyz.com, here is my config:

redirect prefix https://xyz.com code 308 if { hdr(host) -i abc.com }

But headers are missing when request come to xyz.com. I want to keep all headers from client (for check auth, versioning, …) when request come to new endpoint (xyz.com), how can I do that?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>