How to make a website be processed only by Apache when nginx is enabled on a

Started by Suhitha, Mar 07, 2026, 04:49 AM

Previous topic - Next topic

Suhitha

Applicable to:

  • Plesk for Linux


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 served 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.

1.Log in to Plesk.

2.Go to Domains > example.com > PHP settings.

3.Switch domain PHP handler to FPM application served by Apache or FastCGI application served by Apache.

4.Apply the changes.



5.Then go to Domains > example.com > Apache & nginx Settings.

6.Enable Proxy mode and disable Smart static files processing and Serve static files directly by nginx.

7.Apply the changes.