В броузере ссылки идут так:
http://domain.com/images/auth_login.gif
а должны идти так:
http://domain.com/cacti/images/auth_login.gif
Вот конфиг nginx:
server {
listen 80;
root /var/www/nginx-default;
index index.php index.html index.htm;
server_name domain.com;
location / {
try_files $uri $uri/ /index.html;
}
location /doc/ {
alias /usr/share/doc/;
autoindex on;
allow 127.0.0.1;
allow ::1;
deny all;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
Папка cacti: /var/www/nginx-default/cacti