Skip to main content

Nginx | General Commands

A few commands Nginx

systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl status nginx

 

 

Troubleshooting Nginx

sudo tail -f /var/log/nginx/error.log
sudo tail -f /var/log/odoo/odoo.log
Check connection
curl -I http://<your-external-ip>:80
curl -I https://<your-external-ip>:443