Browse Source

It might be HTTP->HTTPS in the comment (#3086)

master
Success Go 5 years ago
committed by GitHub
parent
commit
f6ae092507
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/caddyhttp/caddyhttp.go

2
modules/caddyhttp/caddyhttp.go

@ -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…
Cancel
Save