mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
*(home): added more logging to TLS module
This commit is contained in:
parent
bab7b2dc65
commit
6adf48c938
@ -48,6 +48,7 @@ func tlsCreate(conf tlsConfigSettings) *TLSMod {
|
||||
|
||||
func (t *TLSMod) load() bool {
|
||||
if !tlsLoadConfig(&t.conf, &t.status) {
|
||||
log.Error("failed to load TLS config: %s", t.status.WarningValidation)
|
||||
return false
|
||||
}
|
||||
|
||||
@ -191,7 +192,7 @@ type tlsConfig struct {
|
||||
tlsConfigStatus `json:",inline"`
|
||||
}
|
||||
|
||||
func (t *TLSMod) handleTLSStatus(w http.ResponseWriter, r *http.Request) {
|
||||
func (t *TLSMod) handleTLSStatus(w http.ResponseWriter, _ *http.Request) {
|
||||
t.confLock.Lock()
|
||||
data := tlsConfig{
|
||||
tlsConfigSettings: t.conf,
|
||||
|
Loading…
Reference in New Issue
Block a user