- Plesk for Linux
How to make a website be processed only by Apache when nginx is enabled on the server?
Note: After applying this solution, the website will still be shown as processed by nginx in a web-browser. This is due to the fact that nginx is working as the front-end proxy. The website will be processed by Apache in fact.
In Plesk, switch domain PHP handler to FPM application served by Apache or FastCGI application served by Apache at Domains > example.com > PHP settings.
Enable Proxy mode and disable Smart static files processing and Serve static files directly by nginx at Domains > example.com > Apache & nginx Settings.
To stop using nginx on a server, connect to a Plesk server via SSH and disable it with the command:
# /usr/local/psa/admin/bin/nginxmng -d
To see all available commands for nginxmng, run:
# /usr/local/psa/admin/bin/nginxmng -h