Ghost Error: Your site url in config.js is invalid
I have created a droplet with the one click ghost app, configured /var/www/ghost/config.js /etc/nginx/sites-available/ghost with my sites url and it worked fine until I added a theme and restarted it.
Up on restart I get 502 bad gateway, I tried running npm start --production and I get the error "Error: your site url in config.js is invalid".
here is the error https://jpst.it/GFUL
I can't figure out what really is the problem. Your help is highly appreciated.