Ah, will do, cheers -- I had a look through the NGINX variables, but it wasn't really clear which variable did what. I suppose something like: location / { return 301 https://$uri; } Wouldn't work? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254914,254922#msg-254922