var nconf = require('nconf');

nconf
  .file({ file: './config/config.json' })
  .env();

nconf.defaults({
  'RIPPLE_REST_API': 'http://localhost:5990',
  'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway',
  'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data-sequelize-adapter',
  'RIPPLE_EXPRESS_GATEWAY': 'ripple-gateway-express',
  'SSL': false,
  'PORT': 5000,
  'HOST': 'localhost'
});

module.exports = nconf;

@@ -404,16 +404,43 @@
 calhost'
+,%0A  'domain': 'example.com'
 %0A%7D);%0A%0Amo

Set domain to example.com by default.