empty user-agent and logs

Christos Chatzaras chris at cretaforce.gr
Thu Sep 14 19:57:39 UTC 2017

curl -A "-" https://hostname/index.php <https://hostname/index.php>


curl -A "" https://hostname/index.php <https://hostname/index.php>

are logged with:

xxx.xxx.xxx.xxx - - [14/Sep/2017:22:47:09 +0300] "GET /index.php HTTP/1.1" 200 26039 "-" "-"

There is not difference if there is an empty user-agent or a user-agent with a dash.

Any idea it shows the empty user agents with dash?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170914/b23417de/attachment.html>

More information about the nginx mailing list