Want to subscribe to topics you're interested in?
Become a Member

Intercept error nginx about SSL, is this a good idea?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by Sysnet, Jul 25, 2021.

Tags:
  1. Sysnet

    Sysnet New Member

    8
    0
    1
    Nov 17, 2020
    Ratings:
    +0
    Local Time:
    3:58 PM
    Hi everyone, first a big thank you for this forum and the continue work of eva2000 related to Nginx.

    I think to create a plugin who has the feature of monitoring a website SSL certificate and check everything is okay

    this plugin will be installed in the same server who has all the Server Blocks Nginx, that mean a self hosted monitoring.

    I want to avoid resources used cpu and memory, so the functionality of plugin will be different in comparison to traditional monitoring system.

    Create a module in Nginx or Lua to intercept all error logs related to SSL, that means intercept this directive error_log

    server {
    # Server configuration
    error_log /var/log/error.log;
    }

    My main question is, does nginx error_log register (logged) all error related to SSL?
    If the above question is true, what do you think about this idea?

     
    Last edited: Jul 25, 2021
  2. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:58 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  3. Sysnet

    Sysnet New Member

    8
    0
    1
    Nov 17, 2020
    Ratings:
    +0
    Local Time:
    3:58 PM
    Thank you eva2000