caddy/caddyconfig
Y.Horie d6d7511699
httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320)
* httpcaddyfile: Change the parse rules when empty file or dotfile with a glob.

* Fixes #5295
* Empty file should just log a warning, and result in no tokens.
* The last segment of the path is '*', it should skip any dotfiles.
* The last segment of the path is '.*', it should read all dotfiles in a dir.

* httpcaddyfile: Regard empty files as import files which include only white space.
2023-01-21 10:22:36 -07:00
..
caddyfile httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320) 2023-01-21 10:22:36 -07:00
httpcaddyfile httpcaddyfile: Fix handle grouping inside route (#5315) 2023-01-18 16:04:41 -05:00
configadapters.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
httploader.go httploader: Close resp body on bad status code 2022-10-24 12:18:32 -06:00
load.go Replace strings.Index usages with strings.Cut (#4930) 2022-08-04 11:17:35 -06:00