Answer the question
In order to leave comments, you need to log in
How to run Ghost Blog under Windows Desktop on local domain?
Greetings to all those who are not indifferent to this issue.
I spent a lot of time, but I still can't figure out how to make the Ghost engine open in production mode on the local domain (for example , ghost.loc )? In the config.js file, on line 13 ( url parameter ), I wrote the following:
production: {
url: 'http://ghost.loc',
mail: {},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
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'
}
},
Answer the question
In order to leave comments, you need to log in
It's easier to write the desired name in hosts and it will be exactly what you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question