mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-17 10:33:46 +08:00
d6d7511699
* 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.
5 lines
27 B
Plaintext
5 lines
27 B
Plaintext
host1 {
|
|
dir1
|
|
dir2 arg1
|
|
}
|