I am using Nginx as a proxy in front of a Java application (because it's hosted at Amazon where we only get one IP address per system, and I am running multiple sites). When the application calls getRequestURL, it gets http://dev.mysite.com regardless of whether the request was actually http or https. I am guessing that this is because Host gets set to either $host or $http_host, both of whiby janine - Nginx Mailing List - English
I have Googled and looked at various sample SSL configurations and it seems like I've got things set up right, but there are two problems I can't seem to fix: 1. When I load https://dev.mysite.com, the lock that should appear in the upper right corner of the browser window does not appear. 2. The Java application behind the scenes uses httpUtil.GetRequestURL() to get the current request and itby janine - Nginx Mailing List - English