Success Go
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 { |
|
|