Just started using HAProxy, and am trying to learn. Sorry if this is obvious to others, but I’m banging my head against a wall here.
I want HAProxy as a reverse proxy on an internal website.
HAProxy should run on 10.1.1.1, and proxy connections from 10.1.2.2 through to 10.1.3.3.
Simple enough, and seems to be working okay with a simple HTML webpage I have on the server at 10.1.3.3.
The thing is, I am embedding an iframe on the site at 10.1.3.3 that I would like to display content from 10.1.33.33. The reason for this is that the content will change dynamically.
On the host at 10.1.33.33 we see multiple attempts to connect from 10.1.2.2 instead of 10.1.1.1. Of course these connections are blocked.
Can someone point me in the right direction, please?
I have tried rewriting http request headers, but this didn’t seem to work.
In an effort to be clearer, I want the proxy operating on 10.1.1.1, and all the connection requests to go from 10.1.1.1 to other servers.
Thanks in advance.