С каких-то пор 404 ошибки начались писаться в access.log, пример:
125.55.255.255 - - [04/Jul/2012:17:52:57 +0300] "GET /images/fb_icon.png HTTP/1.1" 404 245 "http://domain.ru" "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1"
125.55.255.255 - - [04/Jul/2012:17:52:57 +0300] "GET /images/White.jpg HTTP/1.1" 404 243 "http://domain.ru" "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1"
125.55.255.255 - - [04/Jul/2012:17:52:57 +0300] "GET /images/tw_icon.png HTTP/1.1" 404 245 "http://domain.ru" "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1"
конфиг:
server {
listen 127.0.0.1:80;
server_name domain.ru;
rewrite ^(/manager/.*)$ https://$host$1 permanent;
location ~* ^/(webstat/|awstats|webmail/|hardway51/|manimg/|pgadmin/) {
proxy_pass http://127.0.0.1:8080;
proxy_redirect http://domain.ru:8080/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
proxy_pass http://127.0.0.1:8080;
proxy_redirect http://domain.ru:8080/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Range "";
limit_req zone=lphp burst=3;
}
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
root /var/www/user/data/www/domain.ru;
access_log /var/log/nginx/domain.ru.st.access.log;
}
location @fallback {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
}