Truncate NGINX log files in Linux (Debian, Ubuntu, CentOs)
In Linux OS (Debian, Ubuntu, CentOs) log files of web server can grow and grow. According to web server activity, they can grow to a very big size. To remove files is a bad solution because they won't be restored and you loose new logs.
The SSH command to truncate log files:
truncate -s 0 /var/log/*.log #(0 - zero)

How to reset MySQL root password in Linux console (SSH)
Pack and unpack files in linux console using Tar
Characters in Midnight commander via Putty from Windows 8