If I want to run several ghost sites on a single droplet, how can I modify the config files to handle this? I am totally unfamiliar with nginx and the way it works.
Is their a tutorial on how to setup multiple ghost installations on the same machine or even a tutorial on setting up hosts on nginx and Digital Ocean’s Ubuntu configuration?
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This tutorial should point you in the write direction:
The key things to remember is that you need to have DNS configured correctly for each blog. The Nginx configurations must also set the
server_name
directive so that requests are routed correctly. In the Ghost blogs’config.js
files, you’ll need to edit theurl
andport
values. The tutorial walks you through it.