Turn Off Nginx Access Logs for All Domains

Hi @erdiritru

If you are using only Nginx (not Nginx + Apache2) you can comment the directive access_log for the template/templates you are using and rebuild the web domain.

Let’s say you are using default Nginx template, your user is erdiritru and your domain is example.net

sed -i '/^\s*access_log/ s/access_log/#access_log/' /usr/local/hestia/data/templates/web/nginx/php-fpm/default.*
v-rebuild-web-domain erdiritru example.net yes
1 Like