On Plesk for Linux, you can host websites using a combination of nginx
and PHP-FPM. In this case, requests to websites are not passed to Apache
but are served by nginx instead. Nginx-only hosting is a solid option
for PHP websites, but it is also well-suited for hosting static websites
and application servers. You can configure individual websites to be
served only by nginx without stopping or disabling Apache, and it does
not impact websites hosted using Apache in any way.
Note: Plesk services (for example, Webmail) continue working using Apache
and are not affected by switching to nginx-only hosting.
To switch on/off nginx only hosting for a domain:
- Go to Websites & Domains > Apache & nginx Settings.
- In the nginx settings section, clear the Proxy mode checkbox.
- Click Apply.
To revert a domain to Apache+nginx hosting, select the Proxy mode
checkbox.