mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Rename storage certificate cache
This cache is used only for ACME certificates. Being explicit is always better.
This commit is contained in:
parent
0413daf76b
commit
f29940d784
2 changed files with 10 additions and 10 deletions
|
@ -121,7 +121,7 @@ func tlsConfig() *tls.Config {
|
|||
func startAutoCertTLSServer(server *http.Server, certDomain string, store *storage.Storage) {
|
||||
server.Addr = ":https"
|
||||
certManager := autocert.Manager{
|
||||
Cache: storage.NewCache(store),
|
||||
Cache: storage.NewCertificateCache(store),
|
||||
Prompt: autocert.AcceptTOS,
|
||||
HostPolicy: autocert.HostWhitelist(certDomain),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue