Skip to content

Commit d115cd1

Browse files
authored
chore: fix some comments (#7303)
1 parent de6b780 commit d115cd1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

caddyconfig/httpcaddyfile/builtins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func parseBind(h Helper) ([]ConfigValue, error) {
9191
// curves <curves...>
9292
// client_auth {
9393
// mode [request|require|verify_if_given|require_and_verify]
94-
// trust_pool <module_name> [...]
94+
// trust_pool <module_name> [...]
9595
// trusted_leaf_cert <base64_der>
9696
// trusted_leaf_cert_file <filename>
9797
// }

modules/caddyhttp/encode/encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type Encode struct {
5050
// Only encode responses that are at least this many bytes long.
5151
MinLength int `json:"minimum_length,omitempty"`
5252

53-
// Only encode responses that match against this ResponseMmatcher.
53+
// Only encode responses that match against this ResponseMatcher.
5454
// The default is a collection of text-based Content-Type headers.
5555
Matcher *caddyhttp.ResponseMatcher `json:"match,omitempty"`
5656

modules/caddyhttp/reverseproxy/forwardauth/caddyfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func parseCaddyfile(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error)
8484
// create the reverse proxy handler
8585
rpHandler := &reverseproxy.Handler{
8686
// set up defaults for header_up; reverse_proxy already deals with
87-
// adding the other three X-Forwarded-* headers, but for this flow,
87+
// adding the other three X-Forwarded-* headers, but for this flow,
8888
// we want to also send along the incoming method and URI since this
8989
// request will have a rewritten URI and method.
9090
Headers: &headers.Handler{

0 commit comments

Comments
 (0)