Trailing slash issue with https redirect - Nginx

linsonj nginx-forum at nginx.us
Thu Sep 24 04:39:19 UTC 2015


I was able to resolve the issue using following rewrite rule.


rewrite ^(.*)$ https://$servername.mydomain.com$1;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261751,261810#msg-261810



More information about the nginx mailing list