lose value of $uid_set

Lucas Rolff lucas at slcoding.com
Thu Feb 25 13:44:19 UTC 2016


What is the http status code of those failed requests?

> youjie zeng <mailto:youjie.zeng at gmail.com>
> 25 February 2016 at 14:28
> Hello, master of nginx, I have a question when using 
> ngx_http_userid_module. here is the detail description:
>
> nginx version:1.7
> conf:
>
> log_format  main '$remote_addr - $remote_user [$time_local] "$request" 
> $uid_set'
>
> ...
>
> server {
>
>         userid on;
>
>         userid_name user_id;
>
>         set $uid_reset myuid;
>
>            ...
>
> }
>
>
> because i set $uid_reset not empty, $uid_set would get a new uuid 
> every time nginx process a request.
>
> but i found some strange things, I got value "-" of $uid_set, that 
> means $uid_set did not get a value. even though over 92% request have 
> correct value of $uid_set, but the 2% do not. And i did not found 
> abnormal of those request.
>
> Do you have any idea about this?
>
> looking forward your reply!
>
> have a nice day!
>
>
>
> _______________________________________________
> 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/20160225/33bdce35/attachment.html>


More information about the nginx mailing list