Reinis Rozitis
June 15, 2020 02:26PM
> return 301 return 301 https://$server_name$request_uri;

Obviously a typo just a single return 301.

rr


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

kaushalshriyan June 15, 2020 01:02PM

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

Reinis Rozitis June 15, 2020 02:22PM

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

Reinis Rozitis June 15, 2020 02:26PM

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

kaushalshriyan June 16, 2020 08:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready