access log request without query string

Zhang Chao zchao1995 at gmail.com
Thu Apr 20 01:23:11 UTC 2017


Maybe lua-nginx-module is more convenient :)


On 20 April 2017 at 08:08:46, Frank Liu (gfrankliu at gmail.com) wrote:

Hi,

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.

Thanks!
Frank
朱_______________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170419/11e0035f/attachment.html>


More information about the nginx mailing list