GNU/Linux ◆ xterm-256color ◆ bash 2262 views

NGX - NGiNX FAST-RELOAD

         __   _  ______ _     _
         | \  | |  ____  \___/  -[ NGiNX FAST-RELOAD ]-
        _|  \_| |_____| _/   \_    vX.X (XXXX/XX/XX)
USAGE

Having NGiNX installed and running, simply run command ngx

INFORMATIONS

NGX is designed to test and reload NGiNX settings quickly assuming that the configuration test is successful.

RETURN CODES
  • 0 Success
  • 1 Unspecified error type
  • 2 Could not safely reload target
  • 3 Could not reliably find binary target
  • 4 No process information found for target
  • 5 Unforeseen program termination
  • 6 Help informations displayed
  • 7 Version informations displayed

The following can be run in order to ‘install’ NGX

# Simple bash commands to download/unzip NGX
pushd /tmp &>/dev/null;
    curl -sLkO https://tools.data-analyst.biz/ngx.zip;
    unzip ngx.zip -d /usr/local/bin;
    rm ngx.zip;
popd &>/dev/null;
Download Link
For 64 bits systems (x86_64)