Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

try_files HTTP status code



:    ,     404.

location ~* \.(css|gif|html|ico|jpg|js|png)$ {
        root /home/www/site/htdocs;
        expires max;

        try_files $uri /resources/images/new_comp_def_img.jpg =404;
}

 ,   404   :

94.179.105.93 - - [20/Jul/2011:17:48:52 +0100] "GET /resources/images/cool_img__555.gif HTTP/1.0" 304 226 "-" "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1" "-"

  ?

.

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.