fileserver: Add a few doc lines about Etag file content (#7173)

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
Luka T. Korošec 2025-08-22 00:02:10 +02:00 committed by GitHub
parent 493898d9bd
commit b9710c6af4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,6 +167,8 @@ type FileServer struct {
// If set, file Etags will be read from sidecar files
// with any of these suffixes, instead of generating
// our own Etag.
// Keep in mind that the Etag values in the files have to be quoted as per RFC7232.
// See https://datatracker.ietf.org/doc/html/rfc7232#section-2.3 for a few examples.
EtagFileExtensions []string `json:"etag_file_extensions,omitempty"`
fsmap caddy.FileSystems