I am trying to host both my own website (Grav + Nginx) and a friend’s WordPress website (WordPress + Nginx in a docker container) on the same Ubuntu server. I have been using the following resources to set this up:
- Digital Ocean tutorial for setting up WP with Docker
- A post I made on the Grav forum
I’m having some trouble understanding how I should setup nginx however. Currently I have two instances of Nginx, one in a docker container and one not, and they clash. I’m thinking that I just need one instance of Nginx outside the docker container which then forwards calls to the docker container, but I’m not sure.
Thoughts? Tips? Any help would be very welcome, thank you.