attempting to use $http_host instead of just $host as per http://stackoverflow.com/questions/17158013/why-is-ssl-redirect-not-working-with-force-ssl-and-nginx?answertab=votes#tab-top