caddy/caddyconfig
Ye Zhihao 8b80a3201f
httpcaddyfile: Bring enforce_origin and origins to admin config (#3595)
* Bring `ensure_origin` and `origins` to caddyfile admin config

* Add unit test for caddyfile admin config update

* Add caddyfile adapt test for typical admin setup

* httpcaddyfile: Replace admin config error message when there's more arguments than needed

Replace d.Err() to d.ArgErr() since the latter provides similarly informative error message

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-08-03 13:44:38 -06:00
..
caddyfile caddyfile: Export Tokenize function for lexing (#3549) 2020-07-20 13:55:51 -06:00
httpcaddyfile httpcaddyfile: Bring enforce_origin and origins to admin config (#3595) 2020-08-03 13:44:38 -06:00
configadapters.go caddyconfig: Minor internal and godoc tweaks 2020-05-29 11:49:25 -06:00
load.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00