I have just stumbled upon this to check if my nginx configuration was good enough. Turns out I was about 3/4 there! Thanks!
You can use the NodeSource deb repo for the latest NodeJS for the previous 3 LTS releases of Ubuntu: https://deb.nodesource.com/setup
I would be surprised if there isn't also a PPA floating around that has Nginx with Mod Security support.
Thanks for the comment Philio! I'll check it out.
It works! Awesome and thanks for your detailed tutorial :)
@fratoro Unfortunately uploading media files (e.g. the blog cover) is an issue for which I have not yet found a solution. It is certainly a problem with ModSecurity but I am not sure which rule is causing that.
For now you can try logging into Ghost admin via SSH port forwarding (at port 2368) in order to upload those files. This will bypass Nginx and access the Node.js backend directly. That's what I always did when managing my blog.
Alternatively you can create additional location blocks in nginx.conf for "/ghost/", and disable ModSecurity for it but allow access from only your IP. You can find the syntax via Google search.