perf: 证书申请支持反向代理,letsencrypt无法访问时的备用方案

This commit is contained in:
xiaojunnuo
2024-07-25 10:38:45 +08:00
parent 4060f6ecbc
commit b7b5df0587
6 changed files with 55 additions and 11 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class AcmeClient {
max: this.opts.backoffMax,
};
this.http = new HttpClient(this.opts.directoryUrl, this.opts.accountKey, this.opts.externalAccountBinding);
this.http = new HttpClient(this.opts.directoryUrl, this.opts.accountKey, this.opts.externalAccountBinding, this.opts.urlMapping);
this.api = new AcmeApi(this.http, this.opts.accountUrl);
}