mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
It might be HTTP->HTTPS in the comment (#3086)
This commit is contained in:
parent
a2a41a5bdf
commit
f6ae092507
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ func (app *App) Provision(ctx caddy.Context) error {
|
||||||
certmagic.Default.DefaultServerName = app.DefaultSNI
|
certmagic.Default.DefaultServerName = app.DefaultSNI
|
||||||
|
|
||||||
// this provisions the matchers for each route,
|
// this provisions the matchers for each route,
|
||||||
// and prepares auto HTTP->HTTP redirects, and
|
// and prepares auto HTTP->HTTPS redirects, and
|
||||||
// is required before we provision each server
|
// is required before we provision each server
|
||||||
err := app.automaticHTTPSPhase1(ctx, repl)
|
err := app.automaticHTTPSPhase1(ctx, repl)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue