Articles in this section

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

kb: how-to Plesk for Linux ABT: Group A

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.


    Screenshot_2021-09-17_at_16-06-57_PHP_Settings_for_example_com_-_Plesk_Obsidian_18_0_38.png

  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.


    Screenshot_2021-09-17_at_16-08-31_Apache_nginx_Settings_for_example_com_-_Plesk_Obsidian_18_0_38.png

Was this article helpful?

Comments

1 comment
Date Votes
  • What if PHP support is unchecked (turned off) for the subscription in question?  Must I enable PHP support in order to make the website processed only by Apache?

    0

Please sign in to leave a comment.