Everytime when I try to add my mailgun credentials in config.production.json, the whole website crashes (502 error). I don’t know why, but I followed carefully the instructions. The only way is to put back the original json that I got with my Ghost installation.
This is the file:
{
"url": "",
"server": {
"port": 2368,
"host": "127.0.0.1"
},
"database": {
"client": "mysql",
"connection": {
"host": "localhost",
"user": "ghost",
"password": "",
"port": 3306,
"database": "ghost_production"
}
"mail": {
"transport": "SMTP",
"options": {
"service": "Mailgun",
"auth": {
"user": "",
"pass": ""
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/www/ghost/content"
}
}