redirect from http (port 80) to https (port 443) not working.

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Jun 16 12:17:43 UTC 2020


On Mon, Jun 15, 2020 at 11:55 PM Reinis Rozitis <r at roze.lv> wrote:

> >       return       301 return 301 https://$server_name$request_uri;
>
> Obviously a typo just a single return 301.
>
> rr
>
>
>
Thanks Reinis for the email and much appreciated. It worked like a charm.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200616/11b55d7b/attachment.htm>


More information about the nginx mailing list