1
Tutorials and FAQs / [HAPROXY] Redirection error
« on: July 28, 2020, 10:11:34 am »
Hello,
I'm trying to setup a reverse proxy with HAProxy.
I'm facing a little problem:
- I have setup a real server, a backend pool, a public service, a rule and a condition to redirect web1.domain.com to my webserver : it works.
- I set up a second webserver to my HAProxy (the same way that I did for the first one). I want to reach this server by typing web2.domain.com.
After setting up my second web server (web2.domain.com), if I try to reach my first web server (web1.domain.com) the HAProxy send my to the second one (web2.domain.com).
It's the first time that I use HAProxy and I don't know where the problem come from.
Any idea about this issue ?
Thanks.
I'm trying to setup a reverse proxy with HAProxy.
I'm facing a little problem:
- I have setup a real server, a backend pool, a public service, a rule and a condition to redirect web1.domain.com to my webserver : it works.
- I set up a second webserver to my HAProxy (the same way that I did for the first one). I want to reach this server by typing web2.domain.com.
After setting up my second web server (web2.domain.com), if I try to reach my first web server (web1.domain.com) the HAProxy send my to the second one (web2.domain.com).
It's the first time that I use HAProxy and I don't know where the problem come from.
Any idea about this issue ?
Thanks.