I expanded my current server NodeBB hosted on Digital Ocean to 2GB and 2 cores with the intention of firstly adding a mail server then later perhaps expanding the site. Apache and Nginx aren't quite working together, and I'd love some advice.
I installed iRedMail, which installed Apache, and some other stuff (RoundCube, AWStats for example).
The install went fine, and I now have a working mail server. After install, iRedMail was redirecting to mydomain.com/mail when you tried to go to our home URL, but this was simply fixed as it was an HTML redirect.
Then, NodeBB wouldn't start - I was using too much memory. Hence the upgrade, but that would have been needed eventually anyway.
The home URL (my forum), is 403ing. As I understand it, this is because both Nginx and Apache aren't configured properly.
I've read and reread a lot of different sources and found nothing which has worked. I have checked out here for proxying, but it only covers either or, not both together.
I'm not even sure it is the cause of the 403! The error page clearly shows Nginx is spitting out the 403 error, rather than Apache.
Help!