Make server listen address configurable (#618)

This commit is contained in:
Patrick Wellever
2020-06-04 03:36:10 -04:00
committed by GitHub
parent 35c149c7b1
commit 49ea7e2739
4 changed files with 13 additions and 2 deletions

View File

@@ -169,6 +169,12 @@ const config = convict({
env: 'N8N_PORT',
doc: 'HTTP port n8n can be reached'
},
listen_address: {
format: String,
default: '0.0.0.0',
env: 'N8N_LISTEN_ADDRESS',
doc: 'IP address n8n should listen on'
},
protocol: {
format: ['http', 'https'],
default: 'http',