From 725932fa1dc63ba1f719134b77796c3a40f4271d Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 22 Nov 2021 15:33:04 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Matt Holt --- src/docs/markdown/caddyfile/directives/php_fastcgi.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/directives/php_fastcgi.md b/src/docs/markdown/caddyfile/directives/php_fastcgi.md index 0d2e7b0..ef87c25 100644 --- a/src/docs/markdown/caddyfile/directives/php_fastcgi.md +++ b/src/docs/markdown/caddyfile/directives/php_fastcgi.md @@ -54,7 +54,7 @@ Since this directive is an opinionated wrapper over a reverse proxy, you can use ## Expanded form -The `php_fastcgi` directive (with none of the subdirectives configured) is the same as the following configuration. Most modern PHP apps work well with this preset. If yours does not, feel free to borrow from this and customize it as needed instead of using the `php_fastcgi` shortcut. +The `php_fastcgi` directive (without subdirectives) is the same as the following configuration. Most modern PHP apps work well with this preset. If yours does not, feel free to borrow from this and customize it as needed instead of using the `php_fastcgi` shortcut. ```caddy-d route { @@ -84,7 +84,6 @@ route { ### Explanation -Since the above expanded form may be hard to follow, here's an in-depth explanation of what it directive does, and why it works this way. - The first section deals with canonicalizing the request path. The goal is to ensure that requests that target a directory on disk actually have the trailing slash `/` added to the request path, so that only a single URL is valid for requests to that directory.