Welcome! Log In Create A New Profile

Advanced

question about not found

February 28, 2019 07:48AM
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 http://www.example.com/image.png http://www.example.com/image.png 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?_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

question about not found

CyberCr33p February 28, 2019 07:48AM

Re: question about not found

CyberCr33p February 28, 2019 08:08AM

Re: question about not found

CyberCr33p February 28, 2019 08:32AM

Re: question about not found

Maxim Dounin February 28, 2019 08:54AM

Re: question about not found

CyberCr33p February 28, 2019 11:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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