Jump to content
JasperReports Library 7.0 is now available ×

JasperServer 6.1 HaProxy


morisbozzetto

Recommended Posts

Hi all

I'm trying to configure a linux server with haproxy to use two windows instances of jasper report (6.1) but I cannot login

in http://haproxyip:8080/jasperserver/login.html because jasper server send me on login page again.

The proxy configuration is quite simple

frontend jasperreport
     bind *:8080
     mode http
     reqadd X-Forwarded-Proto: http
     acl url_jasper path_beg     /jasperserver
     use_backend jasperreport-backend  if url_jasper
     default_backend jasperreport-backend
backend jasperreport-backend
     cookie server insert
     balance roundrobin
     option persist
     option redispatch
     option httpchk
     option forwardfor except 127.0.0.0/8
     server jasper_1 192.168.10.221:8080 weight 10 maxconn 512 check cookie SERVER_1
     server jasper_2 192.168.10.222:8080 weight 10 maxconn 512 check cookie SERVER_2
 
Could you help me to resolve the problem?
 
Thanks in advance
 
Moris

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...