Hi I am debating what is a better setting between the 2 settings below. Setting#1 and Setting#2 attempt to do the same task (flow control by controlling the IP sources). Setting#1 uses one machine and Setting#2 uses 2 machines in a cascading manner. Thank you for your help 1. Setting #1 1 machine with N CPU =========================== [...] upstream dynamic { least_conby matt_l - Nginx Mailing List - English
Hi Chuanwen Your module did not quite work for me. I opened up a ticket here. https://github.com/cfsego/nginx-limit-upstream/issues/12by matt_l - Nginx Mailing List - English
Hello, I have a hard time understanding limit_conn My NGINX has the configuration below. I would expect to see 16 connections on the backend server 192.168.10.131 defined in the "dynamic" directive. Yet I see ~50-60 connections. QPS: 3056 Active connections: 58 QPS: 3064 Active connections: 54 QPS: 3063 Acby matt_l - Nginx Mailing List - English
Hello I am using http://wiki.nginx.org/HttpLuaModule#lua_shared_dict I am storing a set of of ids. local a_uuid = "... a_dict.set(a_dict, a_uuid, a_uuid) Ideally it would be more efficient for my use case to have lua_shared_set or lua_shared_bloom_filter Has anyone encounter/ implement a shared bloom filter or shared set in nginx? On a separate note, If I were to storeby matt_l - Nginx Mailing List - English
Valentin, Thank you so much for your example. It definitely helps. When you say "A client IP address serves as a key. [...]. One megabyte zone can keep about 16 thousand 64-byte states." Does that mean that 1 megabyte zone can keep the state on 16 thousand different sending IP addresses? What about the following 2 use cases: Use Case #1: One receives 10 requests per second from 10by matt_l - Nginx Mailing List - English
Valentin Thank you very much for your response. What would be a use case where one would define multiple limit_req_zone? For example, I would assume that the following limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s; limit_req_zone $binary_remote_addr zone=two:10m rate=10r/s; is completely equivalent to limit_req_zone $binary_remote_addr zone=two:20m rate=10r/s; Iby matt_l - Nginx Mailing List - English
Hello Please may I ask a question with respect to limit_req_zone to better understand how it works Can I have multiple limit_re_zone statements? limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s; limit_req_zone $binary_remote_addr zone=two:10m rate=10r/s; Thank youby matt_l - Nginx Mailing List - English
Hello I have taken the NGINX training but the following question was not covered. I am hoping I can get some help from the community. Thank you in advance. Can NGINX add empty (or static non empty) payload to a request when proxying to a server in the Location directive (or elsewhere) For example Client => NGINX => Server Client sends http://example.com/some/path NGINX adds -by matt_l - Nginx Mailing List - English
Hello I am new to nginx. I will be taking the nginx training next week. In the meantime I was wondering if i was implementing the following properly. I have an nginx instance that is sitting between my server and a client. The client requires that I close the connection when I respond to it. The server requires that I keep the connection alive for performance reason. Between the server andby matt_l - Nginx Mailing List - English
Hello I am new to nginx. This is most likely a beginner question. I apologize in advance. I have a client that is sending http request with an x-security-header: a6rb35723926d2c685c2d7ud3034179828blablabla How can I configure nginx so that if the x-security-header is not present then the request is rejected? Thank you very much for your help. -mattby matt_l - Nginx Mailing List - English