I did a new install of Ghost using the ghost-CLI on a Digital Ocean Ubuntu droplet.
Very smooth, and everything up and running with SSL from /var/www/dotse
for the man domain, say www.site.se
Then I added an additional site on a subdomain with root dir /var/www/hub for
hub.site.se on the same droplet.
Wrote the nginx hub.site.conf in /sites-available and linked it to /sites-enabled
After a reboot I can not access the Ghost site - niginx kicks everything to the site I added,
ignoring the Ghost systemd service
I’m in way over my head with systemd - I have no idea how to work this.
Using “sudo netstat --tcp --udp --listening --program” I see Ghost on localhost:2368
Do I write a separate .conf for www.site.se installation in /var/www/dotse
and proxy the request like I do on other ghost installations?
here is what I have in /sites-available
hub.site.se
www.site.se-ssl.conf -> /var/www/dotse/system/files/www.site.se-ssl.conf
www.site.se.conf -> /var/www/dotse/system/files/www.site.se.conf
But… there are no config files in /system/files, just a systemd config…
ghost_www-site-se.service
so… I’m lost. Any ideas?
Thanks / magnus