1
0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-03-24 06:04:51 +01:00
Commit graph

1 commit

Author SHA1 Message Date
Y.Horie
d6d7511699
httpcaddyfile: Warn on importing empty file; skip dotfiles ()
* httpcaddyfile: Change the parse rules when empty file or dotfile with a glob.

* Fixes 
* 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