Commit 3d2f41de authored by Robin Raymond's avatar Robin Raymond

jbboehr's fix for #21

parent e4852151
......@@ -26,7 +26,7 @@ in
else if cfg.certificateScheme == 2
then "${cfg.certificateDirectory}/cert-${cfg.domain}.pem"
else if cfg.certificateScheme == 3
then "/var/lib/acme/acme-challenge/${cfg.hostPrefix}.${cfg.domain}/fullchain.pem"
then "/var/lib/acme/${cfg.hostPrefix}.${cfg.domain}/fullchain.pem"
else throw "Error: Certificate Scheme must be in { 1, 2, 3 }";
# key :: PATH
......@@ -35,6 +35,6 @@ in
else if cfg.certificateScheme == 2
then "${cfg.certificateDirectory}/key-${cfg.domain}.pem"
else if cfg.certificateScheme == 3
then "/var/lib/acme/acme-challenge/${cfg.hostPrefix}.${cfg.domain}/privkey.pem"
then "/var/lib/acme/${cfg.hostPrefix}.${cfg.domain}/key.pem"
else throw "Error: Certificate Scheme must be in { 1, 2, 3 }";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment