我的 linode 使用 nginx 和乘客运行 rails 应用程序运行。现在我创建了一个名为blog.domain.com
我使用ghost blogger创建了一个博客的新域
我无法理解如何将我的博客域指向 ghost blog。我需要更改 nginx 配置或config.js
在 ghost blogger 中。
这是我的 config.js
var path = require('path'),
config;
config = {
development: {
url: 'http://my-ghost-blog.com',
``
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-dev.db')
},
debug: false
},
server: {
port: '2368'
}
},
production: {
url: 'http://my-ghost-blog.com',
mail: {},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
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'
}
},
testing: {
url: 'http://127.0.0.1:2369',
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-test.db')
}
},
server: {
host: '127.0.0.1',
port: '2369'
}
},
travis: {
url: 'http://127.0.0.1:2368',
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-travis.db')
}
},
server: {
host: '127.0.0.1',
port: '2368'
}
}
};
module.exports = config;