SSL Configuration for Nginx Reverse Proxy and Jasper



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 '…vel=error&' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. 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.


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

1 Answer:


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
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 1 month ago