caddy/caddyconfig/httpcaddyfile
Matt Holt 2f59467ac3
httpcaddyfile: Only append TLS conn policy if it's non-empty (#3319)
This can lead to nicer, smaller JSON output for Caddyfiles like this:

	a {
		tls internal
	}
	b {
		tls foo@bar.com
	}

i.e. where the tls directive only configures automation policies, and
is merely meant to enable TLS on a server block (if it wasn't implied).
This helps keeps implicit config implicit.

Needs a little more testing to ensure it doesn't break anything
important.
2020-05-05 12:37:52 -06:00
..
addresses.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -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
builtins.go caddytls: Finish upgrading to libdns DNS providers for ACME challenges 2020-05-02 17:23:36 -06:00
directives.go httpcaddyfile, caddytls: Multiple edge case fixes; add tests 2020-04-08 14:46:44 -06:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
httptype.go httpcaddyfile: Only append TLS conn policy if it's non-empty (#3319) 2020-05-05 12:37:52 -06:00
httptype_test.go httpcaddyfile: Support single-line matchers (#3263) 2020-05-05 12:29:21 -06:00
options.go httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
tlsapp.go caddytls: Fix namespace tls.dns -> dns.providers 2020-05-02 16:28:10 -06:00