Hi,

it must be misconfiguration, while for me:

HEAD http://bridge.skk/netem.png
200 OK
Connection: close
Date: Fri, 30 Sep 2011 20:41:09 GMT
Accept-Ranges: bytes
Server: nginx/1.1.2
Content-Length: 38217
Content-Type: image/png
Last-Modified: Fri, 30 Sep 2011 20:39:05 GMT
Client-Date: Fri, 30 Sep 2011 20:41:11 GMT
Client-Peer: 192.168.0.20:80
Client-Response-Num: 1

HEAD http://bridge.skk/netem.png/daco.php
404 Not Found
Connection: close
Date: Fri, 30 Sep 2011 20:41:19 GMT
Server: nginx/1.1.2
Content-Length: 168
Content-Type: text/html
Client-Date: Fri, 30 Sep 2011 20:41:21 GMT
Client-Peer: 192.168.0.20:80
Client-Response-Num: 1

try this:

location ~ \.php$ {
    try_files  $uri @404;
    ...
}

location @404 {
    return 404;
}

regards
-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature

Reply via email to