File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,16 @@ type TLS struct {
81
81
// EXPERIMENTAL. Subject to change.
82
82
DisableOCSPStapling bool `json:"disable_ocsp_stapling,omitempty"`
83
83
84
+ // Disables checks in certmagic that the configured storage is ready
85
+ // and able to handle writing new content to it. These checks are
86
+ // intended to prevent information loss (newly issued certificates), but
87
+ // can be expensive on the storage.
88
+ //
89
+ // Disabling these checks should only be done when the storage
90
+ // can be trusted to have enough capacity and no other problems.
91
+ // EXPERIMENTAL. Subject to change.
92
+ DisableStorageCheck bool `json:"disable_storage_check,omitempty"`
93
+
84
94
certificateLoaders []CertificateLoader
85
95
automateNames []string
86
96
ctx caddy.Context
@@ -255,6 +265,7 @@ func (t *TLS) Provision(ctx caddy.Context) error {
255
265
OCSP : certmagic.OCSPConfig {
256
266
DisableStapling : t .DisableOCSPStapling ,
257
267
},
268
+ DisableStorageCheck : t .DisableStorageCheck ,
258
269
})
259
270
certCacheMu .RUnlock ()
260
271
for _ , loader := range t .certificateLoaders {
You can’t perform that action at this time.
0 commit comments