diff options
author | Success Go <gaodacheng@protonmail.ch> | 2020-02-28 10:30:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 19:30:48 -0700 |
commit | ca5c6798806546180994ab7c08e60a5ffeb69394 (patch) | |
tree | 8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /modules/caddyhttp/reverseproxy | |
parent | e2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff) |
Fix typos (#3087)
* Fix typo
* Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-rw-r--r-- | modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go | 2 | ||||
-rw-r--r-- | modules/caddyhttp/reverseproxy/hosts.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go index 8c9fd38..7a65428 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go @@ -105,7 +105,7 @@ func (t *Transport) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { // } // // Thus, this directive produces multiple handlers, each with a different -// matcher because multiple consecutive hgandlers are necessary to support +// matcher because multiple consecutive handlers are necessary to support // the common PHP use case. If this "common" config is not compatible // with a user's PHP requirements, they can use a manual approach based // on the example above to configure it precisely as they need. diff --git a/modules/caddyhttp/reverseproxy/hosts.go b/modules/caddyhttp/reverseproxy/hosts.go index 54de5a8..602aab2 100644 --- a/modules/caddyhttp/reverseproxy/hosts.go +++ b/modules/caddyhttp/reverseproxy/hosts.go @@ -27,7 +27,7 @@ import ( // Host represents a remote host which can be proxied to. // Its methods must be safe for concurrent use. type Host interface { - // NumRequests returns the numnber of requests + // NumRequests returns the number of requests // currently in process with the host. NumRequests() int |