cacti/cacti.nginx
2019-01-03 18:51:23 +01:00

20 lines
425 B
Nginx Configuration File

# cacti nginx configuration
location = /cacti {
alias /usr/share/cacti/;
}
location /cacti/ {
root /usr/share;
index index.php index.html;
location ~ ^/cacti/(.+\.php)$
{
try_files $uri =404;
fastcgi_intercept_errors on;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass php-fpm;
}
}