summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-09-05 23:41:48 -0400
committerGitHub <noreply@github.com>2022-09-05 21:41:48 -0600
commit8cc8f9fddd2ea717633528322e1bef938bee2415 (patch)
treee395240aaef45301936557294a921b1d1cb7897a /cmd
parent8f6a88e2b02221b9a332abd2f68f586ac3544778 (diff)
httpcaddyfile: Add a couple more placeholder shortcuts (#5015)
This adds: - `{file.*}` -> `{http.request.uri.path.file.*}` - `{file_match.*}` -> `{http.matchers.file.*}` This is a follow-up to #4993 which introduces the new URI file placeholders, and a shortcut for using `file` matcher output. For example, where the `try_files` directive is a shortcut for this: ``` @try_files file <files...> rewrite @try_files {http.matchers.file.relative} ``` It could instead be: ``` @try_files file <files...> rewrite @try_files {file_match.relative} ```
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions