Rewrite/redirect issue

Francis Daly francis at
Fri May 7 13:02:05 UTC 2021

On Thu, May 06, 2021 at 07:15:55PM +0000, Eric Speake wrote:

Hi there,

> Looking at the logs I see this:
> - - [06/May/2021:13:27:27 -0500] "GET /summersummit HTTP/1.1" 301 185 "-"
> While seeing the 301 it's not redirecting anywhere.

What response do you get from something like

  curl -ki

? If nginx is sending the correct HTTP 301 Location:, then nginx is
configured correctly.

If not, then it is not.

Using "curl", or something like it, avoids any caching or cleverness
that a "full" browser might be doing, and is much easier for testing.


Francis Daly        francis at

More information about the nginx mailing list