Fix handling of HTTPS parameter when using Nginx


git-svn-id: svn+ssh://svn.code.sf.net/p/dotproject/code/branches/stable_2@6238 c625438d-3aaf-4c84-a37d-fcf3134530f0
Remove debug.


git-svn-id: svn+ssh://svn.code.sf.net/p/dotproject/code/branches/stable_2@6239 c625438d-3aaf-4c84-a37d-fcf3134530f0
Merge branch 'master' of github.com:dotproject/stable-2