Spin up an HTTPS server when certificates, port and private key are configured.

This commit is contained in:
Eugene Bujak
2019-02-12 21:14:02 +03:00
committed by Eugene Bujak
parent 5cbaeb82a8
commit 30050bf278
2 changed files with 44 additions and 0 deletions

View File

@@ -1077,6 +1077,7 @@ func handleTLSConfigure(w http.ResponseWriter, r *http.Request) {
return
}
config.TLS = data
httpsServer.cond.Broadcast()
httpUpdateConfigReloadDNSReturnOK(w, r)
}