How can I optimize my Ubuntu server with the LEMP stack?

Posted March 13, 2014 4k views
I have added a swap, that's about it! Have any ideas on how to optimize my 512MB droplet further?

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.

Submit an Answer
1 answer
Take a look a . The 'easyengine is primarily for setting up WordPress sites but it also configures Nginx, MySQL, PHP-FPM and Postfix. Best of all it automatically configures caching using PHP's Fastcgi Cache Module.
If you start with one of its configurations you easily modify it to run other PHP setups. Also the website has lots of tutorial on configuring Nginx and PHP-FPM