Articles in this section

How to switch a domain to nginx-only hosting in Plesk

kb: how-to Plesk Onyx for Linux ABT: Group B

Applicable to:

  • Plesk Onyx for Linux

Question

How to switch a domain to nginx-only hosting (without Apache) in Plesk?

Answer

After switching a domain to nginx-only hosting:

  • Check if the website is working with nginx.

  • Websites that use rewrite rules in the .htaccess file may not work properly, because the .htaccess file is not processed by nginx. For more information, visit this KB article.

  • Webmail will continue working on Apache.

 

Switching on nginx-only hosting for a domain

 

  1. Log in to Plesk.

  2. Go to Domains > example.com > Apache & nginx Settings.

  3. In the nginx settings section, disable the Proxy mode setting.


    Screenshot_2018-10-29_Apache_nginx_Settings_for_example_com_-_Plesk_Onyx_17_8_11.png

  4. Apply the changes.

 

Switching on nginx-only hosting for all new domains under a service plan

 

  1. Log in to Plesk.

  2. Go to Service Plans> Example Plan > Web Server tab.

  3. In the nginx settings section, disable the Proxy mode setting.

  4. Click Update & Sync.

 

Additional Information

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.