docs: Update the php_fastcgi expanded form

This commit is contained in:
Francis Lavoie 2020-05-04 21:27:29 -04:00
parent 144a639efc
commit 258d422e3f
No known key found for this signature in database
GPG key ID: 7D1A27F0725BE5D8

View file

@ -33,14 +33,18 @@ route {
file { file {
try_files {path}/index.php try_files {path}/index.php
} }
not { not path */
path */
}
} }
redir @canonicalPath {path}/ 308 redir @canonicalPath {path}/ 308
# If the requested file does not exist, try index files # If the requested file does not exist, try index files
@indexFiles {
file {
try_files {path} {path}/index.php index.php try_files {path} {path}/index.php index.php
split_path .php
}
}
rewrite @indexFiles {http.matchers.file.relative}
# Proxy PHP files to the FastCGI responder # Proxy PHP files to the FastCGI responder
@phpFiles { @phpFiles {