Fixed nginx redirects for https-enabled sites