PingIntelligence

NGINX for RHEL 7.6

To compile NGINX Community Edition 1.14.2 for PingIntelligence for APIs, complete the following steps:

  1. Download the NGINX community version:

    # wget https://nginx.org/download/nginx-1.14.2.tar.gz
  2. Untar the NGINX file:

    # tar -xvzf nginx-1.14.2.tar.gz
  3. Change directory to nginx-1.14.2

    # cd nginx-1.14.2
  4. Compile and install NGINX by running the following command: Note that these options for compiling NGINX are in addition to your environment specific options.

    # ./configure --with-compat --with-http_ssl_module

    --with-compat: This option enables NGINX to load dynamic modules.

    --with_http_ssl_module: This flag is used configure SSL support in NGINX.

  5. Run the make command to compile NGINX:

    # make
  6. Run the make install command to install NGINX:

    # sudo make install
  7. Verify the compilation by entering the following command:

    # sudo /usr/local/nginx/sbin/nginx -V

    The output of the above command should display --with-compat and --with_http_ssl_module flags.