Excellent, both versions work. Thanks. My problem was, that I had the root directive inside 'location / {}', so the other location didn't pick that up.by vilts - Nginx Mailing List - English
Hi, Looks like it is trying to search that file from <nginx root>/html/. 2009/08/20 16:14:49 19796#0: *1 open() "/usr/local/nginx-passenger/html/favicon.ico" failed (2: No such file or directory) 2009/08/20 16:14:49 19796#0: *2 open() "/usr/local/nginx-passenger/html/images/nav1_bg1.gif" failed (2: No such file or directory) 2009/08/20 16:14:49 19796#0: *3 openby vilts - Nginx Mailing List - English
Hello, I tried to turn off static file logging using this: location ~* .(css|js|gif|jpg|jpeg|ico)$ { access_log off; } It turned the logging off, that part worked. But it also didn't serve any of these files anymore. Same effect was when I tried to redirect static file log to another file - again no images on web page. I tried this with 0.7.61 and 0.8.9 veby vilts - Nginx Mailing List - English