0
Fork 0
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:
Success Go 2020-02-27 13:50:36 +08:00 committed by GitHub
parent a2a41a5bdf
commit f6ae092507
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ func (app *App) Provision(ctx caddy.Context) error {
certmagic.Default.DefaultServerName = app.DefaultSNI
// 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
err := app.automaticHTTPSPhase1(ctx, repl)
if err != nil {