mirror of
https://github.com/caddyserver/caddy.git
synced 2026-08-28 04:39:52 +00:00
Ensure active Caddyfile, if in site, is hidden no matter the cwd
This commit is contained in:
parent
38c76647c9
commit
82929b122a
5 changed files with 43 additions and 10 deletions
|
|
@ -33,6 +33,9 @@ type SiteConfig struct {
|
|||
|
||||
// Max amount of bytes a request can send on a given path
|
||||
MaxRequestBodySizes []PathLimit
|
||||
|
||||
// The path to the Caddyfile used to generate this site config
|
||||
originCaddyfile string
|
||||
}
|
||||
|
||||
// PathLimit is a mapping from a site's path to its corresponding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue