Skip to content

Commit

Permalink
Added comments to config for ports
Browse files Browse the repository at this point in the history
Fixes TryGhost#874

- Added comments to clarify that you should set the port to
`process.env.PORT` when running ghost under iisnode.
  • Loading branch information
gotdibbs authored and ErisDS committed Sep 27, 2013
1 parent 6605ce1 commit ef8fed3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ config = {
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: '2368'
}
},
Expand All @@ -53,7 +55,9 @@ config = {
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: '2368'
}
},
Expand Down

0 comments on commit ef8fed3

Please sign in to comment.