How to install and enable nginx reverse proxy on a Plesk for Linux server

Follow

Comments

9 comments

  • Avatar
    Jose Luis Bejar Fernandez

    Hola buenas cizaña:

    Tengo la versión de Plesk 12.5.3 para windows y no veo Todas Estas options ...

    Gracias de antemano y Un saludo ..

     

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    Hello Jose Luis Bejar Fernandez,

    The article is only applicable for Plesk installed on a Linux server.

    There is no possibility to install and enable nginx on a Windows server by Plesk means.

    0
    Comment actions Permalink
  • Avatar
    Daniel Salinas

    Hello,

     

         I'm running the above script from command line to attempt to install the nginx server to preview my websites, but I get an error message:

    "

    plesk installer --select-release-current --install-component nginx


    Doing restart of Plesk Installer...

    BUSY: Update operation was locked by another update process.
    exit status 1

    "

     

    Any ideas on what would be causing this?

     

    -Daniel

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Daniel Salinas

    This usually happens when there's another instance of Plesk installer running. For, example, when the installer was launched via GUI it remains running for 30 minutes.

    Please, check this article for instructions on how to stop running installer instances.

    For Plesk Obsidian there's a dedicated command:

    plesk installer stop

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman

    Kuzma Ivanov

    did you mean "and" and not "end", on "Installing end enabling nginx reverse proxy via the Plesk interface"?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Ehud Ziegelman

    Seems to be a typo, fixed.

    0
    Comment actions Permalink
  • Avatar
    Connor Gladen

    So after I installed nginx as discribed, I run into this error msg:

    New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] "location" directive is not allowed here in /etc/nginx/nginx.conf:42 nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

    the line in the nginx.conf: include /etc/nginx/*global_params;

    I tried both "here" and it displayed in both cases that the changes were successful, after refreshing the pleak startpage I get the same error msg again and again.

    best

    Connor

    0
    Comment actions Permalink
  • Avatar
    Benjamin Hodgetts

    Your knowledge base version of this page (present at https://www.plesk.com/kb/support/how-to-install-and-enable-nginx-reverse-proxy-on-a-plesk-for-linux-server/) breaks the commands by turning double hyphens into a UTF8 "emdash". I assume other articles also have the same issue.

    0
    Comment actions Permalink
  • Avatar
    Kuzma Ivanov

    Hi @Benjamin Hodgetts,

    Thanks for noticing!

    We've corrected those broken commands.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request