Wie man nginx-Logs tatsächlich vollständig abschaltet
English
Deutsch
Wenn Sie in Ihrer nginx-Konfiguration Anweisungen wie
nginx_conf_example.conf
access_log off;
error_log off;verwenden, wird das Logging nicht tatsächlich abgeschaltet. Es wird nur die Logs nach /usr/share/nginx/off schreiben.
Um das Logging tatsächlich abzuschalten, verwenden Sie
nginx_conf_devnull.conf
access_log /dev/null;
error_log /dev/null;Check out similar posts by category:
Nginx
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow