Welcome! Log In Create A New Profile

Advanced

Re: Why 301 permanent redirect with appended slash?

Francis Daly
August 01, 2019 12:56PM
On Wed, Jul 31, 2019 at 11:45:58AM -0500, J. Lewis Muir wrote:
> On 07/31, Francis Daly wrote:
> > On Tue, Jul 30, 2019 at 05:12:01PM -0500, J. Lewis Muir wrote:

Hi there,

> > As in: your request for "/foo" does not match any location{}, and so is
> > handled at server-level, which runs the filesystem handler and returns
> > 200 if the file "foo" exists, 301 if the directory "foo" exists, and
> > 404 otherwise.
>
> Yes, thank you very much for the explanation! That all makes sense.
> I couldn't find this behavior documented anywhere; is it documented
> somewhere that I've missed?

I've not looked much for documentation on what nginx's filesystem handler
does recently, mostly because it seems to do what I expect.

https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/

seems to describe some of the above.

Cheers,

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

Why 301 permanent redirect with appended slash?

J. Lewis Muir July 30, 2019 06:12PM

Re: Why 301 permanent redirect with appended slash?

Francis Daly July 31, 2019 08:06AM

Re: Why 301 permanent redirect with appended slash?

J. Lewis Muir July 31, 2019 12:46PM

Re: Why 301 permanent redirect with appended slash?

Francis Daly August 01, 2019 12:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 261
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