limit_req_zone based on subdomain key

2019-08-20 Thread grayaii
We want to rate limit based on subdomain. Is this possible? If so, how do you it? Basically, what goes here? limit_req_zone $XXX zone=mylimit:10m rate=10r/s; server { location /login/ { limit_req zone=mylimit; proxy_pass http://my_upstream; } } Posted at Ng

Re: openssl engine is not initialized properly

2019-08-20 Thread Vincent Chen
Yes i am using the right format as in document. If I do not, there will be error logs.   ssl_certificate  ; ssl_certificate_key  engine::; I also see my binder function is called by openssl. However, my crypto functions inside engine shared library never get called.   As soon as I change o

Re: try_files doubleslash mystery

2019-08-20 Thread Francis Daly
On Sun, Aug 18, 2019 at 11:40:59AM +0200, Maik Beckmann via nginx wrote: > Am Sa., 17. Aug. 2019 um 20:04 Uhr schrieb Francis Daly : Hi there, > What I still don't understand is how the existence of an directory > results in subrequest/internal redirect. Is that documented > somewhere? The 100%

Re: SMTP Proxy - STARTTLS offer on per IP base

2019-08-20 Thread Maxim Dounin
Hello! On Mon, Aug 19, 2019 at 08:48:28AM -0400, ramber wrote: > We've setup a nginx reverse smtp proxy to load balance incoming access to > our mailservers. > Everything is fine... until > > Some remote sites have broken tls setups and can't deliver mails anymore. > Some didn't accept Let's En