Ghost and MediaWiki with Nginx

April 24, 2016 526 views
Nginx Ghost LEMP Ubuntu

I'm running a droplet with Ubuntu 14.04 and I have a 'domain.com' to play with. I want to be able to serve an instance of the Ghost app and a MediaWiki site using Nginx as the web server of choice.

It's not important how the domain would be pointed, it could be
domain.com (for Ghost) and wiki.domain.com or
domain.com (for Ghost) and domain.com/wiki.

Right now, Ghost is successfully running on 'domain.com' and being the blogging platform it is keeping it that way would be preferred (and probably easier?). I'm reading up on a ton of documentation for server and location block configuration, but I just can't seem to crack this.

We can assume I have a LEMP stack on the server,
I have earlier on served MediaWiki-sites from my droplets,
I am familiar with working the DNS records for multiple servers.

I'll continue the search and would be grateful for some input on this issue ~

1 comment
1 Answer

You might want to look at my script to create a Ghost docker container, then set up the NGINX config for it.


Have another answer? Share your knowledge.