Ensure active Caddyfile, if in site, is hidden no matter the cwd

This commit is contained in:
Matthew Holt
2017-01-23 22:06:29 -07:00
parent 38c76647c9
commit 82929b122a
5 changed files with 43 additions and 10 deletions

View File

@ -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