<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If I try to visit an image that doesn't exist I get:<div class=""><br class=""></div><div class="">"404 Not Found"</div><div class=""><br class=""></div><div class="">If I add a location / { } then I get:</div><div class=""><br class=""></div><div class="">"File not found"</div><div class=""><br class=""></div><div class="">In both cases using curl -I <a href="http://www.example.com/image.png" class="">http://www.example.com/image.png</a> I get:</div><div class=""><br class=""></div><div class=""><div class="">HTTP/1.1 404 Not Found</div><div class="">Server: nginx</div><div class="">Date: Thu, 28 Feb 2019 12:46:56 GMT</div><div class="">Content-Type: text/html</div><div class="">Content-Length: 162</div><div class="">Connection: keep-alive</div></div><div class=""><br class=""></div><div class="">Any idea why it shows different message?</div></body></html>