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

Store host from previous page

$
0
0

I have two frontends on HAProxy. A user will visit one page, hosted by a server load-balanced by the first front-end. When the user clicks on a link, the page gets directed to another page on a server, load-balanced by another front-end on the same HA-Proxy instance.

Is there any way the second frontend can know the ‘host’ (xyz.com) of the page it came from? Can I store this somehow with a variable in HAP?

In theory, I am thinking to set a ‘proc’ variable, then unset it after I make it to the second step. Would this work? I am not sure the scope of this type of variable as I’ve not used it before.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



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