Created
October 19, 2020 16:13
-
-
Save rafamdr/abc58240e0786f8166d3dfa9b5fe8eea to your computer and use it in GitHub Desktop.
Nginx config snippet for capturing HTTP user agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_format compression '$time_local - $remote_addr: "$http_user_agent"'; | |
access_log /var/log/nginx/access.log compression; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment