removed proxy_redirect to ssl as the rewrite rule already does this