Hi,
I was trying to install Ghost on my droplet but almost all of the tutorials I found required nginx to be installed. I don’t want to install nginx because I have Apache installed already. Do I really need nginx to run Ghost?
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You don’t require nginx to be installed to run Ghost and it can easily be replaced with Apache or run standalone. nginx is preferred as it’s more focused on proxy/static file hosting than Apache and is for those reasons perfect for use with Ghost. To use it with Apache, simply setup a virtual host that reverse proxys to your Ghost blog in your Apache config so that any requests on that virtual host will go through Apache to your Ghost blog.
Ghost runs its own Node.js-based webserver, so you can use any program that supports reverse proxying in place of nginx.
It is possible to use Apache’s mod_proxy extension to proxy requests to the built-in Ghost webserver. Take a look at the following tutorial:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.