mirror of
https://github.com/caddyserver/caddy.git
synced 2026-08-04 14:58:47 +00:00
caddyhttp: Add split_path to file matcher (used by php_fastcgi) (#3302)
* matcher: Add `split_path` option to file matcher; used in php_fastcgi * matcher: Skip try_files split if not the final part of the filename * matcher: Add MatchFile tests * matcher: Clarify SplitPath godoc
This commit is contained in:
parent
83c85c53f5
commit
5ae1a5617c
9 changed files with 342 additions and 188 deletions
1
modules/caddyhttp/fileserver/testdata/foo.php.php/index.php
vendored
Normal file
1
modules/caddyhttp/fileserver/testdata/foo.php.php/index.php
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
foo.php.php/index.php
|
||||
Loading…
Add table
Add a link
Reference in a new issue