Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

How to log auth information with simple auth

$
0
0
Hello,

Is it possible to log all username/passwords from a basic auth, e.g, whatever is provided in http://user:password@url.com/ and if so, how ? I suppose I can use the $remote_user variable for the user, not sure how to catch whatever is provided for the password. I can obviously do that with tshark, or other packet analyzers, but was wondering if it's possible with nginx alone.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>