Disable error.log in nginx log folder

is there a way to disable the /var/log error.log file from generating it always makes my ssd full on my server :frowning:

Instead of disabling it you should fix the issues it points out.

Anyways, you should edit your site and change from:

error_log /var/log/nginx/domain.com.error.log;


error_log off;

it doesn’t generate errors but only DEBUG info’s