Complete guide to host multiple WordPress sites in a LEMP stack in a Ubuntu 16.04 LTS. Installation of SSL by Let’s Encrypt has been illustrated also.
The best plugin for caching sites on Nginx server is to use no plugin at all. Nginx has built in caching module which is called FastCGI. It is the best performer on LEMP stack.
This guideline is to Install single domain SSL (Secure Socket Layer) certificate in a Wordpress site running in a Nginx web server. No plugins are used. We bought SSL from namecheap.com.
Optimization of nginx web server for best performance by changing number of worker_processes, enabling gZip compression, disabling acess log, reducing keepalive_timeout value.
If one site gets compromised, the others are also in risk. However, this risk may be overcome in php-fpm by creating a different pool which runs under a different user for each nginx virtual host.