Browse Source

dangit, of course I would bork my git commit

master
Matthew Holt 5 years ago
parent
commit
100d19e3af
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      modules/caddyhttp/autohttps.go

2
modules/caddyhttp/autohttps.go

@ -158,7 +158,7 @@ func (app *App) automaticHTTPSPhase1(ctx caddy.Context, repl *caddy.Replacer) er
// and no domains, it could be a catch-all with on-demand TLS, and // and no domains, it could be a catch-all with on-demand TLS, and
// in that case we would still need HTTP->HTTPS redirects, which we // in that case we would still need HTTP->HTTPS redirects, which we
// do below // do below
if len(serverDomainSet) == 0 || len(srv.TLSConnPolicies) == 0 { if len(serverDomainSet) == 0 && len(srv.TLSConnPolicies) == 0 {
continue continue
} }

Loading…
Cancel
Save