@marcel91200 / caddy Mirror · read-only / commits / d115cd10
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 19:45 UTC

chore: fix some comments (#7303)

wyrapeseed committed Oct 15, 2025 at 11:58 UTC d115cd10425f435c0e01a2fee2596eff7f8fd457
3 files changed +3 -3
caddyconfig/httpcaddyfile/builtins.go
+1 -1
@@ -91,7 +91,7 @@ func parseBind(h Helper) ([]ConfigValue, error) {
91 // curves <curves...>
92 // client_auth {
93 // mode [request|require|verify_if_given|require_and_verify]
94 -// trust_pool <module_name> [...]
94 +// trust_pool <module_name> [...]
95 // trusted_leaf_cert <base64_der>
96 // trusted_leaf_cert_file <filename>
97 // }
modules/caddyhttp/encode/encode.go
+1 -1
@@ -50,7 +50,7 @@ type Encode struct {
50 // Only encode responses that are at least this many bytes long.
51 MinLength int `json:"minimum_length,omitempty"`
52
53 - // Only encode responses that match against this ResponseMmatcher.
53 + // Only encode responses that match against this ResponseMatcher.
54 // The default is a collection of text-based Content-Type headers.
55 Matcher *caddyhttp.ResponseMatcher `json:"match,omitempty"`
56
modules/caddyhttp/reverseproxy/forwardauth/caddyfile.go
+1 -1
@@ -84,7 +84,7 @@ func parseCaddyfile(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error)
84 // create the reverse proxy handler
85 rpHandler := &reverseproxy.Handler{
86 // 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,
88 // we want to also send along the incoming method and URI since this
89 // request will have a rewritten URI and method.
90 Headers: &headers.Handler{