Permanent Redirect on nginx

Francis Daly francis at daoine.org
Sat Apr 30 07:36:35 UTC 2016


On Fri, Apr 29, 2016 at 07:33:04AM +0000, Mumanyi, Bravismore wrote:

Hi there,

> Francis, your config did magic! Kudos...

Good to hear you have it working, thanks.

> However, I just wondering the cause for the redirect URL having two trailing slashes "//" i.e. "http://archives.unam.edu.na//"? The links seem to work though.

If you are reporting that

  curl -i http://archives.unam.na/

returns a http 301 with a Location: header of
http://archives.unam.edu.na// then that's not what I expect and that's
not what I observe.

If you're reporting something else that is repeatable when there is no
extra caching in the browser, for example, then the curl command that
shows the request and response will be helpful.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list