@marcel91200 / caddy Mirror · read-only / commits / dce81e85
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 14, 01:30 UTC

docs: use backticks to not italicise glob path (#4460)

Adam Burgess committed Dec 6, 2021 at 17:48 UTC dce81e85d5dad5f3610f775a0d29544b6b1d2b61
1 file changed +1 -1
modules/caddyhttp/fileserver/staticfiles.go
+1 -1
@@ -46,7 +46,7 @@ type FileServer struct {
46 Root string `json:"root,omitempty"`
47
48 // A list of files or folders to hide; the file server will pretend as if
49 - // they don't exist. Accepts globular patterns like "*.ext" or "/foo/*/bar"
49 + // they don't exist. Accepts globular patterns like `*.ext` or `/foo/*/bar`
50 // as well as placeholders. Because site roots can be dynamic, this list
51 // uses file system paths, not request paths. To clarify, the base of
52 // relative paths is the current working directory, NOT the site root.