HTTP FastCGI directives

fastcgi_split_path_info directive

Location; two captures select script name and path suffix. Review existence and routing separately.

Formal Syntax & Structure

nginx syntaxnginx
fastcgi_split_path_info regex;

Parameters & Attributes

NameTypeDescription
regexregular expression with two capturesFirst capture becomes script-name, second becomes path-info. Validate the script separately.

Working Example

Example Snippetnginx
fastcgi_split_path_info ^(/index\.php)(/.*)$;
Nginx Reference