Question
How to make a website be processed only by Apache when nginx is enabled on the server?
Answer
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.
-
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.