I directly call a web service with url
curl http://venesh.ir/webservice/oauth/token
and I got error 403,
but when I call it by reverse proxy from some server I got 404,is it possible that haproxy change my address?
haproxy config:
frontend localhost
bind *:8081
option tcplog
mode tcp
acl isVenesh dst_port 8081
use_backend venesh if isVenesh
default_backend venesh
backend venesh
mode tcp
balance roundrobin
server web01 venesh.ir:80 check
when I call mySerevrIp:8081/webservice/oauth/token
I expect getting the result that I directly call
curl http://venesh.ir/webservice/oauth/token
that is 403,
but when I call curl mySerevrIp:8081/webservice/oauth/token
I get error 404,
Is a problem with my haproxy or my config or is it possible that this problem is because of venesh.ir website?