Skip to content

Commit

Permalink
use port 443
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Sep 7, 2014
1 parent ca5cbfb commit ea50709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var PORT_80 = process.env.NODE_ENV === 'production' ? 80 : 9100
var PORT_443 = process.env.NODE_ENV === 'production' ? 80 : 9101
var PORT_443 = process.env.NODE_ENV === 'production' ? 443 : 9101

exports.host = process.env.NODE_ENV === 'production' && '23.239.22.146'

Expand Down
2 changes: 2 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ var httpsServer = https.createServer({
cert: fs.readFileSync(__dirname + '/../secret/instant.io.chained.crt')
}, app)

util.upgradeLimits()

// Templating
app.set('views', __dirname + '/views')
app.set('view engine', 'jade')
Expand Down

0 comments on commit ea50709

Please sign in to comment.