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.
|
||
|---|---|---|
| .. | ||
| addresses.go | ||
| addresses_fuzz.go | ||
| addresses_test.go | ||
| builtins.go | ||
| directives.go | ||
| directives_test.go | ||
| httptype.go | ||
| httptype_test.go | ||
| options.go | ||
| tlsapp.go | ||