diff options
author | Alban Lecocq <alban@lempire.co> | 2021-04-29 18:56:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 10:56:01 -0600 |
commit | ff6ca577ec7196e2cf3991c817d3655754de4b24 (patch) | |
tree | 8699774d9adcea7dd3c5d3c4dcbb7a171de57e4a /caddytest/integration/autohttps_test.go | |
parent | 90175571698d7cb0e4184d257a425f0bd11c713d (diff) |
httpcaddyfile: Fix unexpectedly removed policy (#4128)
* httpcaddyfile: Fix unexpectedly removed policy
When user set on_demand tls option in a catch-all (:443) policy,
we expect other policies to not have the on_demand enabled
See ex in tls_automation_policies_5.txt
Btw, we can remove policies if they are **all** empty.
* Update caddyconfig/httpcaddyfile/tlsapp.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'caddytest/integration/autohttps_test.go')
0 files changed, 0 insertions, 0 deletions