From 590480513a548cf24df2fb85de4a3a073f45acac Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 9 Jan 2020 14:38:59 -0700 Subject: Update docs for couple of Caddyfile directives --- modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/caddyhttp/reverseproxy/fastcgi') diff --git a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go index a9b02a9..f78a405 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go @@ -83,7 +83,7 @@ func (t *Transport) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { // // is equivalent to: // -// matcher canonicalPath { +// @canonicalPath { // file { // try_files {path}/index.php // } @@ -91,14 +91,14 @@ func (t *Transport) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { // path */ // } // } -// redir match:canonicalPath {path}/ 308 +// redir @canonicalPath {path}/ 308 // // try_files {path} {path}/index.php index.php // -// matcher phpFiles { +// @phpFiles { // path *.php // } -// reverse_proxy match:phpFiles localhost:7777 { +// reverse_proxy @phpFiles localhost:7777 { // transport fastcgi { // split .php // } -- cgit v1.2.3