Add ssl certificate verification

This commit is contained in:
Manuel de Brito Fontes 2016-03-18 21:41:31 -03:00
parent 5ed462db09
commit ffe6baa14c
6 changed files with 129 additions and 33 deletions

View file

@ -83,7 +83,7 @@ func (ngx *NginxManager) writeCfg(cfg *nginxConfiguration, upstreams []*Upstream
return false, err
}
changed, err := checkChanges(ngx.ConfigFile, buffer)
changed, err := ngx.needsReload(buffer)
if err != nil {
return false, err
}