caddy/caddyconfig/httpcaddyfile
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
..
addresses_fuzz.go ci: fuzz: switch engine from libfuzzer to native go-fuzz (#3194) 2020-03-26 18:20:34 -06:00
addresses_test.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -06:00
addresses.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -06:00
builtins_test.go httpcaddyfile: Be stricter about log syntax (#3419) 2020-05-15 15:57:16 -06:00
builtins.go caddytls: Replace lego with acmez (#3621) 2020-07-30 15:18:14 -06:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
directives.go push: Implement HTTP/2 server push (#3573) 2020-07-20 12:28:40 -06:00
httptype_test.go httpcaddyfile: Bring enforce_origin and origins to admin config (#3595) 2020-08-03 13:44:38 -06:00
httptype.go httpcaddyfile: Bring enforce_origin and origins to admin config (#3595) 2020-08-03 13:44:38 -06:00
options.go httpcaddyfile: Bring enforce_origin and origins to admin config (#3595) 2020-08-03 13:44:38 -06:00
tlsapp.go caddytls: Replace lego with acmez (#3621) 2020-07-30 15:18:14 -06:00