caddy/caddyconfig/httpcaddyfile
Matthew Holt 1c190b001b
httpcaddyfile: Refactor site key parsing; detect conflicting schemes
We now store the parsed site/server block keys with the server block,
rather than parsing the addresses every time we read them.

Also detect conflicting schemes, i.e. TLS and non-TLS cannot be served
from the same server (natively -- modules could be built for it).

Also do not add site subroutes (subroutes generated specifically from
site blocks in the Caddyfile) that are empty.
2020-04-02 14:24:53 -06:00
..
addresses.go httpcaddyfile: Refactor site key parsing; detect conflicting schemes 2020-04-02 14:24:53 -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 v2: Implement 'pki' app powered by Smallstep for localhost certificates (#3125) 2020-03-13 11:06:08 -06:00
builtins.go caddytls: Refactor certificate selection policies (close #1575) 2020-04-01 20:49:35 -06:00
directives.go httpcaddyfile: Refactor site key parsing; detect conflicting schemes 2020-04-02 14:24:53 -06:00
httptype.go httpcaddyfile: Refactor site key parsing; detect conflicting schemes 2020-04-02 14:24:53 -06:00
httptype_test.go httpcaddyfile: error for wrong arg count of admin opt (#3126) (#3131) 2020-03-10 08:25:26 -06:00
options.go httpcaddyfile: Many tls-related improvements including on-demand support 2020-03-17 21:00:45 -06:00
tlsapp.go httpcaddyfile: Refactor site key parsing; detect conflicting schemes 2020-04-02 14:24:53 -06:00