Add new config item: listen_address
The IP address to bind the HTTP server to
This commit is contained in:
parent
d7084829c3
commit
106aef579f
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue