awsruby

Start the NGINX server

The NGINX server is located in the /opt/bitnami directory.

This server is disabled by default. To start it, follow these steps:

  • Run the following commands to enable the NGINX service:

      $ sudo mv /etc/monit/conf.d/nginx.conf.disabled /etc/monit/conf.d/nginx.conf
      $ sudo gonit reload
    
  • Start the NGINX service:

      $ sudo /opt/bitnami/ctlscript.sh start nginx
    

By default, NGINX will be started on port 1234. Check http://SERVER-IP:1234 in your browser to see the NGINX welcome page.

Last modification February 9, 2023