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

Revision #3
Created 2023-02-19 00:16:31 UTC by Danicus
Updated 2023-12-10 09:33:01 UTC by Danicus