Add new config item: listen_address
The IP address to bind the HTTP server to
This commit is contained in:
parent
d7084829c3
commit
106aef579f
|
@ -14,6 +14,11 @@ const conf = convict({
|
|||
default: 'localhost',
|
||||
env: 'REDIS_HOST'
|
||||
},
|
||||
listen_address: {
|
||||
format: "ipaddress",
|
||||
default: "127.0.0.1",
|
||||
env: "IP_ADDRESS"
|
||||
},
|
||||
listen_port: {
|
||||
format: 'port',
|
||||
default: 1443,
|
||||
|
|
Loading…
Reference in New Issue