By 9sevendesign
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? https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-reverse-proxy-for-apache
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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:
https://serverpilot.io/community/articles/how-serverpilot-configures-your-lamp-stack.html
You wouldn’t be able to use this for an existing server, though. It would have to be a new server.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.