http://somewebaddress/test will result in a 301 to the server for which
haproxy should be proxying requests. So the user is redirected to
http://localhost:8080/test.
http://somewebaddress/test/ works fine.
I tried backend nginx and apache and it is the same.
Anyone have an idea whats going on? My haproxy config:
global
maxconn 10000
pidfile /tmp/haproxy.pid
defaults
contimeout 5000
clitimeout 50000
srvtimeout 50000
frontend httpfront *:80
mode http
option forwardfor
acl acl_str path_end .str
use_backend someservice if acl_str
default_backend nginx
backend someservice
mode http
option httpclose
server strserver 127.0.0.1:6002
backend nginx
mode http
option httpclose
server nginxsrv 127.0.0.1:8080
thank you
Sergej