docs: Update the php_fastcgi expanded form (#33)

This commit is contained in:
Matt Holt 2020-05-04 19:40:13 -06:00 committed by GitHub
commit bd97922b7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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