jasper.test.com/serverpro redirects to localhost instead of request url

I'm trying to configure haproxy for my jasper server.  The problem is that jasper.test.com/jasperserver-pro redirects to the internal server url and not the url specified in the haproxy.cfg.

 

My haproxy settings

frontend ws_frontend_443
    bind :443 ssl crt /var/haproxy/test_fo.crt
    option http-server-close
    option forwardfor
    acl jaspertest_av_acl hdr(host) -i jasper.test.com
 
    use_backend jaspertest_backend if jaspertest_av_acl
 
backend test_backend
    #http-send-name-header Host
    option httpchk
    cookie farmID insert #assign a farmID coockie to each client
    option httpclose
    option httpchk
    option forwardfor
 
    server localhost localhost:8080 check

I've also changed deploy.base.local.url in js.config.properties but that didn't solve it.

Any help is appreciated.

kry_1's picture
2
Joined: Sep 20 2022 - 2:21am
Last seen: 3 days 5 hours ago

0 Answers:

No answers yet
Feedback