Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

HAProxy Redirect Domain While Retaining Original Domain Name In URL (1 reply)

$
0
0
Hello,

I'm trying to determine how to redirect from an incoming domain (alias.com) to another domain (domain.com), yet retain the original incoming domain (alias.com) in the user's browser URL address bar. I believe I need to use "http-request replace-header", but not sure how to format the whole command, especially with regex settings. Has anyone done this before and how would I format the command?

Thanks,
Brian

Viewing all articles
Browse latest Browse all 5112

Trending Articles