question about not found

Christos Chatzaras chris at
Thu Feb 28 12:47:45 UTC 2019

If I try to visit an image that doesn't exist I get:

"404 Not Found"

If I add a location / { } then I get:

"File not found"

In both cases using curl -I <> I get:

HTTP/1.1 404 Not Found
Server: nginx
Date: Thu, 28 Feb 2019 12:46:56 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

Any idea why it shows different message?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list