location ~ .php$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_index index.php;
try_files $uri $uri/ /index.php?$args;
fastcgi_pass "unix:/var/www/vhosts/system/DOMAIN_OR_SUBDOMAIN.COM/php-fpm.sock";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include /etc/nginx/fastcgi_params;
}