updated default server config to add nice comments

v1.18.x
Julian Lam 12 years ago
parent 93c5931bb0
commit 750e087f9e

@ -1,12 +1,19 @@
var config = { var config = {
// The "secret" is used to encrypt cookie sessions, change this to any random string
"secret": 'nodebb-secret', "secret": 'nodebb-secret',
// "base_url" is expected to be a publically accessible URL to your NodeBB instance (Default base_url: 'http://localhost', port: '4567')
"base_url": "http://localhost", "base_url": "http://localhost",
"port": 4567, "port": 4567,
// The host and port to the SMTP server used by NodeBB. The "from" value must be changed.
"mailer": { "mailer": {
host: 'localhost', host: 'localhost',
port: '25', port: '25',
from: 'mailer@localhost.lan' from: 'mailer@localhost.lan'
}, },
// Connection details to the redis database instance.
"redis": { "redis": {
port: "6379", port: "6379",
host: "127.0.0.1", host: "127.0.0.1",
@ -14,6 +21,10 @@ var config = {
} }
}, },
// Social Networking integration. Add the appropriate API keys to activate
// login via alternate method, otherwise the option will not be presented
// to the user
"twitter": { "twitter": {
"key": '', "key": '',
"secret": '' "secret": ''

Loading…
Cancel
Save