Question

Ghost and MediaWiki with Nginx

Posted April 24, 2016 2.8k views
NginxUbuntuGhostLEMP

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

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.

×
1 answer

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

https://github.com/jonsjava/derpycloud-scripts/blob/master/docker/docker-ghost-site-creator.sh

Submit an Answer