TinyTinyRSSのNginxの設定

server {
    listen       80;
    server_name  {server_name};

    root         /var/www/vhosts/tinytinyrss;

    location / {
        index index.php index.html index.htm;
    }

    location ~ ^/(utils|schema|classes|templates|locale|cache|lock)/ {
        deny all;
    }

    location ~ \.php$ {
        fastcgi_pass   phpfpm;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
}