Document that file_server's hide can be used multiple times#545
Open
luccinmasirika wants to merge 2 commits into
Open
Document that file_server's hide can be used multiple times#545luccinmasirika wants to merge 2 commits into
luccinmasirika wants to merge 2 commits into
Conversation
As of caddyserver/caddy#7817, repeated hide subdirectives append to the list instead of overwriting, so note that multiple uses combine (useful for composing imported snippets with site-specific hides).
steadytao
requested changes
Jun 13, 2026
Co-authored-by: Zen Dodd <mail@steadytao.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion docs for caddyserver/caddy#7817 (closes the
needs docsnote there), which makes repeatedhidesubdirectives append instead of overwrite.This adds one sentence to the
hidedescription noting that multiple uses combine rather than replacing each other, which is what lets imported snippets contribute common hides alongside site-specific ones. No other changes. Related issue: caddyserver/caddy#7815.Assistance disclosure: I used an AI assistant to help locate the right spot and draft the wording; I reviewed it and confirmed it matches the behavior in the linked PR.