Skip to content

Commit

Permalink
feat: add redirectPort to config
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkdean committed Jan 13, 2017
1 parent bc538d5 commit e1d6c58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.js
Expand Up @@ -23,6 +23,12 @@ var conf = convict({
default: 8081, default: 8081,
env: "PORT" env: "PORT"
}, },
redirectPort: {
doc: 'Port to redirect http connections to https from',
format: 'port',
default: 0,
env: 'REDIRECT_PORT'
},
name: { name: {
doc: "Server name", doc: "Server name",
format: String, format: String,
Expand Down

0 comments on commit e1d6c58

Please sign in to comment.