Nginx + Rutorrent

Help configure nginx
rutorrent gives an error message:

Bad response from server: (200 [parsererror,getplugins]) SyntaxError: Unexpected token <
[http://192.168.1.1/rutorrent/js/stable.js : 1770] Uncaught TypeError: Cannot read property 'scrollTop' of undefined

my settings /etc/nginx/conf.d/rutorrent.conf

server {

 server_name _;

 root /www/rutorrent;
index index.php index.html index.htm;

 location /RPC2 {
 scgi_pass unix:/root/rpc.socket;
 include scgi_params;
 scgi_param SCRIPT_NAME /RPC2;

  location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass unix:/var/run/php7-fpm.sock;
    fastcgi_index index.php;
    include fastcgi_params;
  }
 }
}

on lighttpd rutorrent runs normally