Hello Andrei. Thank you very much for your response but I cannot understand how I can take HTTP status 401 for a particular client into account with ngx_http_limit_req_module. I have some experience with ngx_http_limit_req_module: I limit the frequency of each client with $binary_remote_addr key. But I would like to set a stricter limit for those only who get HTTP status 401. I cannot understanby hide - Nginx Mailing List - English
Hello! My Nginx does fastcgi_pass to some CGI application. The CGI application can return HTTP status code 401. I want Nginx to return this status code to the user and prevent the next access of the user to the CGI application for 5 seconds. For example, the user accessed the CGI application through Nginx and got HTTP status code 401 at 17:40:40. Suppose that the IP address of the user is trby hide - Nginx Mailing List - English
Hello All! We can combine the restriction by IP addresses and the basic HTTP authentication by use of the satisfy directive. Is there a way to get the same effect if we want to use GeoIP instead of individual IP addresses? For example, I want all users except Germans to go through the basic HTTP authentication. Thank you if you answer.by hide - How to...
Hello All! Is it possible to turn authentication on and off for a specific user agent in some location? When I configure the following location /specloc/ { if ($http_user_agent ~ MSIE) { auth_basic "private area"; auth_basic_user_file /etc/nginx/htpasswd; } #... } my "nginx -t" prints nginby hide - Nginx Mailing List - English
Hello All! How can I log the request body of every POST request if the request body is not longer than 1 kilobyte? If the request body is longer than 1 kilobyte, then I want to omit it or log only the first kilobyte of it. Can I do this? Thank you if you answer.by hide - How to...
Всем привет! Хотелось бы для одного разрабатываемого проекта логировать тело каждого запроса POST, если тело меньше килобайта, а если больше килобайта, то обрезать до килобайта или в крайнем случае не логировать тело бby hide - Russian Forum
Hello All! I'm a beginner at Nginx and want to learn it because my company uses it. Thank you if answer to my questions.by hide - New Member Introductions
Уважаемые форумчане! Прошу совета. Имеется Web-приложение (nginx + php-fpm + mysql), работающее на виртуальной машине (инстансе) Amazon EC2 под CentOS. Могут ли многоуважаемые участники форума подсказать, как можно добиться отказоустойчby hide - Russian Forum
Всем привет! Я видел в обсуждениях, что путем применения umask в скрипте, с помощью которого запускают nginx, можно сделать так, чтобы файлы, создаваемые nginx'ом, были доступны на запись для группы, куда входит пользователь, оby hide - Russian Forum