Skip to content

Commit 867f85e

Browse files
committed
feat: add redirectPort to config
1 parent a92884d commit 867f85e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ var conf = convict({
1515
format: 'port',
1616
default: 8080
1717
},
18+
redirectPort: {
19+
doc: 'Port to redirect http connections to https from',
20+
format: 'port',
21+
default: 0,
22+
env: 'REDIRECT_PORT'
23+
},
1824
name: {
1925
doc: 'Server name',
2026
format: String,

0 commit comments

Comments
 (0)