Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $uid_got



On Fri, May 18, 2012 at 04:30:09AM -0400, agz wrote:
> , !    
>   uid   ?

 %%%
http {
    map $uid_got $bad_user {
        include badusers.conf;
    }

    server {
        userid on;

        if ($bad_user) {
            return 403;
        }

        location / {
            return 200 "OK uid_set=$uid_set uid_got=$uid_got\n";
        }
    }
}
 %%%

$ cat badusers.conf
uid=7F0000014FB6042CA7BEA78803030302 1;
uid=7F0000014FB62795328EA9E403030302 1;

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.