Matthew Holt
4 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
3 additions and
3 deletions
-
modules/caddypki/acmeserver/acmeserver.go
|
|
@ -150,9 +150,9 @@ func (ash *Handler) Provision(ctx caddy.Context) error { |
|
|
|
// create the router for the ACME endpoints
|
|
|
|
acmeRouterHandler := acmeAPI.NewHandler(acmeAPI.HandlerOptions{ |
|
|
|
CA: auth, |
|
|
|
DB: acmeDB, // stores all the server state
|
|
|
|
DNS: ash.Host, // used for directory links; TODO: not needed (follow-up upstream with step-ca)
|
|
|
|
Prefix: ash.PathPrefix, // used for directory links
|
|
|
|
DB: acmeDB, // stores all the server state
|
|
|
|
DNS: ash.Host, // used for directory links; TODO: not needed (follow-up upstream with step-ca)
|
|
|
|
Prefix: strings.Trim(ash.PathPrefix, "/"), // used for directory links
|
|
|
|
}) |
|
|
|
|
|
|
|
// extract its http.Handler so we can use it directly
|
|
|
|