access_by_lua ?
14 августа 2013 г., 23:43 пользователь Gurd <[email protected]> написал: > Здравствуйте! > > Модуль ngx_http_access_module > > location / { > deny 192.168.1.1; > allow 192.168.1.0/24; > allow 10.1.1.0/16; > allow 2001:0db8::/32; > deny all; > } > > Подскажите, пожалуйста, можно ли как-то получить флаг или переменную, > срабатывания правила, запрещённой сети? > > Что-то типа: > > if ($deny_ip) > proxy_set_header Allow-Piring '1'; > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?21,241859,241859#msg-241859 > > _______________________________________________ > nginx-ru mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx-ru _______________________________________________ nginx-ru mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-ru
