Configure Nginix with Apache

I was wondering how I would go about running Nginix on the front end and Apache on the back end. I currently have my ubuntu 16.04 server set up with a LAMP stack and virtual hosts since my droplet has three websites on it. The main website is correctly set up with wordpress installed and all of that. Obviously currently it is only running Apache. Is there any way I can configure Nginix to run on the front end without having to to start from the beginning like outlined in this article ? Also in regards to my plugins such as cache enabler I would just have to add the rules etc?


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.

Hi, you might want to consider managing your server with ServerPilot which installs and configures Nginx as a reverse proxy in front of Apache. There’s a bit more info here:

You wouldn’t be able to use this for an existing server, though. It would have to be a new server.