Welcome! Log In Create A New Profile

Advanced

Re: Rewrite/redirect issue

Francis Daly
May 07, 2021 09:04AM
On Thu, May 06, 2021 at 07:15:55PM +0000, Eric Speake wrote:

Hi there,

> Looking at the logs I see this:
>
> 192.168.250.30 - - [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 https://mydomain.com/summersummit

? 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.

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite/redirect issue

Eric Speake May 06, 2021 10:02AM

Re: Rewrite/redirect issue

Sergey A. Osokin May 06, 2021 11:04AM

Re: Rewrite/redirect issue

James Read May 06, 2021 12:06PM

RE: Rewrite/redirect issue

Eric Speake May 06, 2021 03:18PM

Re: Rewrite/redirect issue

Francis Daly May 07, 2021 09:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready