nginx/0.8.53 выдаёт такой лог:
[notice] 6807#0: *1 "\.(js|gif|jpg|jpeg|png|css|swf|html|ppt|mov|txt|xls|php)$"
does not match "/usr/share/nginx/html/"
Но в nginx.conf нигде не прописано /usr/share/nginx/html/
Почему тогда ссылается на директорию по умолчанию?
server {
server_name site.com www.site.com;
location / {
root /var/www;
index index.php;
}
if ($request_filename !~*
\.(js|gif|jpg|jpeg|png|css|swf|html|ppt|mov|txt|xls|php)$) {
rewrite ^(.*)$ /index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
include fastcgi_params;
}
}
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru