root@ghost:/var/www/ghost# npm start --production

> ghost@0.7.8 start /var/www/ghost
> node index

WARNING: Ghost is attempting to use a direct method to send email.
It is recommended that you explicitly configure an email service.
Help and documentation can be found at http://support.ghost.org/mail.


ERROR: Your site url in config.js is invalid.

Error: Your site url in config.js is invalid.
at ConfigManager.validate (/var/www/ghost/core/server/config/index.js:335:13)
at /var/www/ghost/core/server/config/index.js:248:29
at tryCatcher (/var/www/ghost/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/var/www/ghost/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/var/www/ghost/node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromiseAtPostResolution (/var/www/ghost/node_modules/bluebird/js/main/promise.js:245:10)
at Async._drainQueue (/var/www/ghost/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/var/www/ghost/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/var/www/ghost/node_modules/bluebird/js/main/async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)


ERROR: invalid site url

Error: invalid site url
at ConfigManager.validate (/var/www/ghost/core/server/config/index.js:339:31)
at /var/www/ghost/core/server/config/index.js:248:29
at tryCatcher (/var/www/ghost/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/var/www/ghost/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/var/www/ghost/node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromiseAtPostResolution (/var/www/ghost/node_modules/bluebird/js/main/promise.js:245:10)
at Async._drainQueue (/var/www/ghost/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/var/www/ghost/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/var/www/ghost/node_modules/bluebird/js/main/async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)