How to enable Nginx reverse proxy in Plesk

Created:

2016-11-16 13:13:00 UTC

Modified:

2017-08-16 16:17:42 UTC

15

Was this article helpful?


Have more questions?

Submit a request

How to enable Nginx reverse proxy in Plesk

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

How to enable the Nginx service in Plesk.

Resolution

  1. Install the Nginx component using the Plesk autoinstaller /usr/local/psa/admin/sbin/autoinstaller , or using the Plesk Update and Upgrade web interface.

  2. After the installation, you can enable the Nginx service via the Plesk web interface or via the command line utility.

  3. To enable the Reverse Proxy Server (Nginx) service in the Plesk web interface:

    Go to Tools & Settings > Services Management and enable the Nginx service.

  4. To enable the Reverse Proxy Server (Nginx) service via the command line:

        # /usr/local/psa/admin/sbin/nginxmng -e
  5. To disable Nginx, use this command:

        # /usr/local/psa/admin/sbin/nginxmng -d
  6. To check the status of Nginx:

        # /usr/local/psa/admin/sbin/nginxmng -s

Please ensure that the service is running:

# /etc/init.d/nginx status
nginx is running.

Note: The start and stop operations for the Reverse Proxy Server (Nginx) listed above do not just start and stop the Nginx service. They also switch the web server configuration for all the domains in Plesk (Nginx and Apache combination or just an Apache web server).

Have more questions? Submit a request
Please sign in to leave a comment.