1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

docs(nginx): tail logs to inspect requests

This commit is contained in:
Julien Le Coupanec 2023-05-31 16:13:26 +02:00
parent 8ec2267167
commit dd94d3aa70

View File

@ -8,6 +8,7 @@ sudo systemctl status nginx # nginx current status
sudo systemctl reload nginx # Reload nginx
sudo systemctl restart nginx # Restart nginx
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/ # Link website
sudo tail -f /var/log/nginx/access.log # Tail logs to inspect requests
# *****************************************************************************
# General Settings