summaryrefslogtreecommitdiff
path: root/pkg/caddyscript/lib/time.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-13 16:16:20 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-13 16:16:20 -0700
commit271b5af14894a8cca5fc6aa6f1c17823a1fb5ff3 (patch)
treeeacc2a410024429bd67496c0942bcd27c2a9fbc7 /pkg/caddyscript/lib/time.go
parent99e2b56519b89237a28dd176c4eb0604d1cf5297 (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 'pkg/caddyscript/lib/time.go')
0 files changed, 0 insertions, 0 deletions