mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -05:00
dangit, of course I would bork my git commit
This commit is contained in:
parent
ebf07f853b
commit
100d19e3af
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue