Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - Russian
> Topic
Advanced
Модуль ngx_http_access_module
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
Gurd
August 14, 2013 01:43PM
Registered: 14 years ago
Posts: 7
Здравствуйте!
Модуль 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';
Reply
Quote
RSS
Subject
Author
Posted
Модуль ngx_http_access_module
Gurd
August 14, 2013 01:43PM
Re: Модуль ngx http access module
Илья Шипицин
August 14, 2013 01:50PM
Re: Модуль ngx http access module
Валентин Бартенев
August 14, 2013 01:50PM
Re: Модуль ngx http access module
Gurd
August 14, 2013 03:22PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018