Re: Implicit root location?

2019-07-31 Thread Francis Daly
On Tue, Jul 30, 2019 at 04:20:41PM -0500, J. Lewis Muir wrote: Hi there, > I have a minimal nginx.conf with one server block that sets the root > directory but has *no* location directives, yet for a request of "/", it > serves "/index.html". Why? With no locations specified, I expected it >

Implicit root location?

2019-07-30 Thread J. Lewis Muir
Hello, all! I have a minimal nginx.conf with one server block that sets the root directory but has *no* location directives, yet for a request of "/", it serves "/index.html". Why? With no locations specified, I expected it to return 404 or similar for any request. Here's the server block