Make sure that it looks for SSL certs only if defined

This commit is contained in:
Jan Oberhauser
2020-03-30 13:29:42 +02:00
parent 60826ba19d
commit 7c5f437e92
2 changed files with 5 additions and 5 deletions

View File

@@ -177,13 +177,13 @@ const config = convict({
},
ssl_key: {
format: String,
default: 'server.key',
default: '',
env: 'N8N_SSL_KEY',
doc: 'SSL Key for HTTPS Protocol'
},
ssl_cert: {
format: String,
default: 'server.pem',
default: '',
env: 'N8N_SSL_CERT',
doc: 'SSL Cert for HTTPS Protocol'
},