Trailing slash issue with https redirect - Nginx

nanaya me at
Wed Sep 23 10:10:29 UTC 2015


On Wed, Sep 23, 2015, at 07:02 PM, linsonj wrote:
> Issue is that when I try to access using
> current
> setup, it is redirecting to ( with two
> trailing slash at the end of url). Looking for a solution to remove this
> double slash issue. 
> I'm not sure what exactly the problem is. Any suggestion would be of
> great
> help.

Maybe should look closer at this line.

> rewrite ^(.*)$ https://$$1;

(additionally, there's better way to do it)

More information about the nginx mailing list