1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Nginx - no Log for Failed PAM-HTTP Authenfication

Discussion in 'Nginx' started by leon2k6, Dec 21, 2018.

  1. #1
    Hello,
    I have installed Nginx and configured it for Basic Auth with PAM, which works fine. For monitoring and Anti-Brutforce I am using fail2ban which works fine for ssh but not for Nginx.
    I can not find any log-files where the IP and the failed authentification will be logged. I thought, this should be logged independend from the logging level?!

    Does anybody know, where I can see the faild authenfications?

    Thank You!
     
    leon2k6, Dec 21, 2018 IP
  2. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #2
    Try to check the logs in /var/log/secure
     
    hostechsupport, Dec 29, 2018 IP