GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
I am looking to integrate a syslog module with this, howeaver there is no nginx documentation that I can find for creating commands for different protocol blocks, specifically out of that module.
Care to help in the form of some documentation or an example of an integration module.
At present, there is no way to add plugin module like the HTTP module, It's not extensible when I designed this module three years ago. But your suggestion is really reasonable. I will think about it after the Chinese New Year.
The only way to add the syslog module is to added it as a patch like the log module, you can added a syslog function here: https://github.com/yaoweibin/nginx_tcp_proxy_module/blob/master/ngx_tcp_session.c#L408. And write similar code like the tcp_log module.
There are several http syslog module/patch: