access log request without query string

Frank Liu gfrankliu at
Thu Apr 20 00:08:20 UTC 2017


What's the best way to login the original request uri ($request_uri)
without query string? I tried $uri but it seems to be normalized and if I
have customized 404 error page /404.html, all those requests are logged as
/404.html instead of original requests uri.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list