googleruby

Switch from Apache to Nginx

If you want to switch the Web server, follow these steps:

  • Stop Apache and disable the Apache service:

      $ sudo /opt/bitnami/ctlscript.sh stop apache
      $ sudo mv /etc/monit/conf.d/apache.conf /etc/monit/conf.d/apache.conf.disabled
    
  • Enable the NGINX service:

      $ sudo mv /etc/monit/conf.d/nginx.conf.disabled /etc/monit/conf.d/nginx.conf
    
  • Reload Gonit configuration:

      $ sudo gonit reload
    
Last modification February 9, 2023