summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-12-13 15:36:00 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2019-12-13 15:36:00 -0700
commit8005b7ab73c264ee3c1d7b10c39bc5565ef57c02 (patch)
tree984a146668b09f6b8190784ec40fe9d2225d74ea /caddyconfig
parentb1a456cfe38e83eedb778032ed6739e7e3cbe8a4 (diff)
Couple of quick fixes
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/httpcaddyfile/httptype.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go
index 2db3e7c..2b2855d 100644
--- a/caddyconfig/httpcaddyfile/httptype.go
+++ b/caddyconfig/httpcaddyfile/httptype.go
@@ -203,7 +203,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock,
if clVals, ok := sblock.pile["tls.certificate_loader"]; ok {
for _, clVal := range clVals {
loader := clVal.Value.(caddytls.CertificateLoader)
- loaderName := caddy.GetModuleID(loader)
+ loaderName := caddy.GetModuleName(loader)
tlsApp.CertificatesRaw[loaderName] = caddyconfig.JSON(loader, &warnings)
}
}