php-fpm nxing correct PATH_INFO for Phar::webPhar()

raw

nginx.conf

1
2
3
4
5
6
7
location ~ \.(php|phar)(/.*)?$ {
    fastcgi_split_path_info ^(.+\.(?:php|phar))(/.+)$;
    set $path_info $fastcgi_path_info;
    fastcgi_param PATH_INFO $path_info;
    ...
}
 
Christian Weiske Christian Weiske
owner

History