Plesk for Linux
kb: how-to
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.
-
Go to Domains > example.com > PHP settings.
-
Switch domain PHP handler to FPM application served by Apache or FastCGI application served by Apache.
-
Apply the changes.
-
Then go to Domains > example.com > Apache & nginx Settings.
-
Enable Proxy mode and disable Smart static files processing and Serve static files directly by nginx.
-
Apply the changes.
Comments
1 comment
This is great. But I am looking to convert server to Litespeed. The instructions say to make sure all websites are using Apache, but right now, all are using nginx. Is it possible to do this in a batch? What happens if I just turn off the nginx service altogether? Will the websites just go offline, or will they automatically switch over to Apache?
Please sign in to leave a comment.