ce9965
# pass the PHP scripts to FastCGI server
ce9965
#
ce9965
# See conf.d/php-fpm.conf for socket configuration
ce9965
#
ce9965
index index.php index.html index.htm;
ce9965
ce9965
location ~ \.(php|phar)(/.*)?$ {
ce9965
    fastcgi_split_path_info ^(.+\.(?:php|phar))(/.*)$;
ce9965
ce9965
    fastcgi_intercept_errors on;
ce9965
    fastcgi_index  index.php;
ce9965
    include        fastcgi_params;
ce9965
    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
ce9965
    fastcgi_param  PATH_INFO $fastcgi_path_info;
ce9965
    fastcgi_pass   php-fpm;
ce9965
}