diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-13 16:16:20 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-13 16:16:20 -0700 |
commit | 271b5af14894a8cca5fc6aa6f1c17823a1fb5ff3 (patch) | |
tree | eacc2a410024429bd67496c0942bcd27c2a9fbc7 /caddyconfig/httpcaddyfile/httptype.go | |
parent | 99e2b56519b89237a28dd176c4eb0604d1cf5297 (diff) |
http: Refactor automatic HTTPS (fixes #2972)
This splits automatic HTTPS into two phases. The first provisions the
route matchers and uses them to build the domain set and configure
auto HTTP->HTTPS redirects. This happens before the rest of the
provisioning does.
The second phase takes place at the beginning of the app start. It
attaches pointers to the tls app to each server, and begins certificate
management for the domains that were found in the first phase.
Diffstat (limited to 'caddyconfig/httpcaddyfile/httptype.go')
0 files changed, 0 insertions, 0 deletions