SSL Configuration for Nginx Reverse Proxy and Jasper

0

Hello,

We have configured Nginx as the reverse proxy and as the SSL termination point. so the follow is

client->(https)->Niginx-->(http: 8080)-->Jasper(tomcat)

The browser is getting the following error:

The page at 'https://jasper.ociconnect.com/jasperserver-pro/xdm.html?logEnabled=true&log…vel=error&xdm_e=https%3A%2F%2Fqa2.ociconnect.com&xdm_c=default4014&xdm_p=1' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://jasper.ociconnect.com/jasperserver-pro/scripts/bower_components/j...'. This request has been blocked; the content must be served over HTTPS.

How do enable Jasper to return https (without configuring the jasper/tomcat to use SSL)? I would like to only deal with Nginx SSL configuration if it is possible.

thanks

jyang's picture
7
Joined: Mar 26 2015 - 11:32am
Last seen: 1 year 4 months ago

1 Answer:

0

I do not think you can get away with this without configuring tomcat to use SSL.

Since Jasper is not the one that returns anything Tomcat (or the application server you are using) is the one that handles the connection. 

marianol's picture
4778
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 1 month ago
Feedback
randomness