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