Really happy about the one click process. For reasons I don’t really understand, a random domain ( not mine) created a A record to my IP, serving my ghost content ( with a invalid certificate warning). What is the official “ghost” way to block theses? Happy to investigate nginx conf files, but maybe ghost cli has special options I missed? Thank you
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there,
What I would usually do in this case is to create a separate Nginx server block for my main domain and a default Nginx server block that would handle all other host names and only serve a default page.
For more information on how to setup Nginx server blocks you could take a look at the following tutorial:
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
Hope that this helps! Regards, Bobby