0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-13 22:51:08 -05:00
caddy/modules
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
..
caddyhttp pki: Embedded ACME server (#3198) 2020-05-05 12:35:32 -06:00
caddypki pki: Embedded ACME server (#3198) 2020-05-05 12:35:32 -06:00
caddytls httpcaddyfile: Only append TLS conn policy if it's non-empty (#3319) 2020-05-05 12:37:52 -06:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging core: Rename ParsedAddress -> NetworkAddress 2020-04-07 08:33:45 -06:00
standard pki: Embedded ACME server (#3198) 2020-05-05 12:35:32 -06:00