私は、nginx とパッセンジャー ランニング レール アプリケーションを使用して linode を実行しています。という新しいドメインを作成しました。ゴースト ブロガーblog.domain.com
を使用してブログを作成しました
。ブログ ドメインをゴースト ブログにポイントする方法がわかりません。nginx の設定を変更する必要がある場所、またはゴースト ブロガーで。config.js
これが私の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;