Skip to content

Commit

Permalink
add an example
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Oct 29, 2016
1 parent 69be36e commit 0ce0aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/servers/web.js
Expand Up @@ -12,6 +12,7 @@ exports['default'] = {
// Passed to https.createServer if secure=true. Should contain SSL certificates
serverOptions: {},
// Should we redirect all traffic to the first host in this array if hte request header doesn't match?
// i.e.: [ 'https://www.site.com' ]
allowedRequestHosts: process.env.ALLOWED_HOSTS ? process.env.ALLOWED_HOSTS.split(',') : [],
// Port or Socket Path
port: process.env.PORT || 8080,
Expand Down

0 comments on commit 0ce0aa9

Please sign in to comment.