Following the guidance of the config docs provided online by Ghost, and having established a Mailgun account, I opened config.production.json using nano via the console provided by DigitalOcean, added the necessary settings to establish SMTP, saved the update by hitting ^X and then enter. I ran GHOST RESTART, and all seemed well, but when I go to the URL, now there is a 502. Any advice is welcome.
The updated JSON is below with the password removed. Thank you.
{
“url”: “https://helenafitzgerald.com”,
“server”: {
"port": 2369,
"host": "127.0.0.1"
},
“database”: {
"client": "mysql",
"connection": {
"host": "127.0.0.1",
"user": "ghost-991",
"password": ".2I[UTS9dIw[Du82NmeP",
"port": 3306,
"database": "ghost_production"
}
},
“mail”: {
"transport": "SMTP"
"options": {
"service": "Mailgun",
"auth": {
"user": "postmaster@mail.helenafitzgerald.com",
"pass": "[removed for posting]"
}
}
},
“logging”: {
"transports": [
"file",
"stdout"
]
},
“process”: “systemd”,
“paths”: {
"contentPath": "/var/www/ghost/content"
}
}
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
Check your Nginx log and your Ghost app’s error log, the exact error should be present there.
It’s possible you did a typo of some sorts.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.