Running GHOST + NGINX + subdirectories with other applications

  • Posted January 29, 2014

I’m currently running Ghost on the root of my domain but I also want to have subdirectories to run some tutorials I’m making, for example:

How can I accomplish this?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Quite simple if you’re using Nginx as a reverse proxy in front of Nginx, just setup a specific Nginx location context for your non-Ghost directories. Examples can be see on my Ghost blog at the following for my sitemap <br> <br> <br> <br>location ~ ^/(yournonghostwebappdirectory) { <br> root /yournonghostappwebroot; <br>} <br> <br>Easiest way to add non-Ghost stuff to your Ghost blog i.e. <br> <br> <br> <br> <br>:)

Is there anything stopping you from hosting them on their own subdomains (e.g. It’s usually easier to configure multiple apps that way.