GithubHelp home page GithubHelp logo

ericbla / nginx-auth-ldap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kvspb/nginx-auth-ldap

9.0 9.0 3.0 255 KB

LDAP authentication module for nginx

License: BSD 2-Clause "Simplified" License

C 100.00%

nginx-auth-ldap's People

Contributors

andreaspeters avatar cryptogopher avatar davidjb avatar dkiser avatar eramoto avatar ericbla avatar gouzhuang avatar harveyzh avatar huangsam avatar i-rinat avatar itsoli avatar jmakai avatar jmhoffmann avatar kartinkin avatar kvspb avatar landryb avatar lucamilanesio avatar mahumpula avatar mmguero avatar nyoxi avatar petrovich-ua avatar pixolit avatar pmenglund avatar prune998 avatar pweiskircher avatar rascal-hats avatar rdnelson avatar victorhahncastell avatar xsmeets avatar yirkha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nginx-auth-ldap's Issues

Redirection module's log to syslog

Hello,

Thank you for offering this updated module. ๐Ÿ˜‰

I have a question about the module logs. I redirect on my Nginx cluster the logs in syslog to then centralize and sort them.
However, the module's error logs are not redirected like the other nginx logs. They are written to /var/log/nginx/error.log.

  • My rule for redirecting error logs in nginx : error_log syslog:server=unix:/dev/log,facility=local6,severity=error,tag=ngx___;
  • Nginx version: nginx/1.25.1
  • nginx_auth_ldap module also updated
  • Example of error output in /var/log/nginx/error.log not redirected to syslog :
/var/log/nginx/error.log:2023/07/28 13:33:37 [error] 792910#792910: ngx_http_auth_ldap_read_handler: Cnx[0] ldap_result() failed (-1: Can't contact LDAP server)
/var/log/nginx/error.log:2023/07/28 13:33:37 [error] 792910#792910: ngx_http_auth_ldap_read_handler: Cnx[0] LDAP_SERVER_DOWN: No more reconnect retry

Shouldn't the error logs generated by the module be in local6.err ?

Thanks for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.