Fix to nginx.
Merge pull request #2 from malcyL/malcyl-nginx-fix

Change nginx to correctly deal with http -> https redirects.
Fix to nginx config.