1
0

How was this even remotely working?

This commit is contained in:
Jorik Schellekens
2019-08-21 11:03:56 +01:00
parent 438d7fa75a
commit e48e9ba41b

View File

@@ -72,14 +72,14 @@ const listeners = config => {
const tlsPaths = config => {
if (config.reverseProxy == REVERSE_PROXY_TYPES.TLS) {
if (config.tls == TLS_TYPES.TLS) {
return {
tls_certificate_path: config.tlsCertPath,
tls_private_key_path: config.tlsCertKeyPath,
}
} else if (config.reverseProxy == REVERSE_PROXY_TYPES.ACME) {
} else if (config.tls == TLS_TYPES.ACME) {
return {
tls_certificate_path:
@@ -108,7 +108,7 @@ const acme = config => {
reprovision_threshold: 30,
domain: config.delegationServerName ?
config.delegationServerName :
servername,
config.servername,
account_key_file: config.configDir + "/data/acme_account.key",
},
}