<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">It's something a lot of people are bumping on.<br><br>401 HTTP covers both failed and missing authentication but isn't possible for Nginx to differentiate those states and thus only generate an error message on a failed (ie not empty credentials, either user or password containing something) attempt?<br>
That would make the error log more efficient as parsing it would provide more directly failed attempt to access a particular resource.<br><br>Is it the standard way of doing things or is it your own?<br>Are there some use cases or reasons against differentiating 401 answers?<br>
</div><div class="gmail_extra"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font>
</div></div>