Nginx error log empty

  • - IMSCP: 1.4.6
    - Distribution: Debian 8.6
    - Proftpd
    - PHP 7 - FCGID
    - MariaDB 10.0
    - Courier
    - Roundcube
    - Pydio
    - Plugins:
    PanelRedirect 1.1.5, PMA Captcha 1.1.1, RoundCubePlugins 2.0.1, SpamAssassin 1.1.1 , LetsEncrypt 3.2.1


    I'm just testing some fail2ban rules and noted that /var/log/nginx/error.log is always empty, access log is working fine.

  • I'm just testing some fail2ban rules and noted that /var/log/nginx/error.log is always empty, access log is working fine.

    As per nginx.nginx, only critical errors are loggued. If you want raise the error level, you must tune the configuration file, preferably using an i-MSCP listener file to ensure persistence on i-MSCP upgrade/reconfiguration.


    See also: http://nginx.org/en/docs/ngx_core_module.html#error_log

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206