Re: Calculating requests per second, per IP address

2024-01-02 Thread Rejaine Monteiro
Hi all!! I appreciate everyone for the help. For now, I used the good old bash (awk, sort, uniq) to get the information I need, but I'll try later to analyze the other tools and tips you guys sent me! Thanks and a great 2024 to everyone. On Tue, Jan 2, 2024 at 12:24 AM jeremy ardley via nginx

Re: Calculating requests per second, per IP address

2023-12-29 Thread Rejaine Monteiro
limit_req zone=api burst=10 nodelay On Fri, Dec 29, 2023 at 11:07 AM Maxim Dounin wrote: > Hello! > > On Fri, Dec 29, 2023 at 09:54:30AM -0300, Rejaine Monteiro wrote: > > > Hi all, > > > > I´m running Nginx community edition and need to implement rate limiting &g

Calculating requests per second, per IP address

2023-12-29 Thread Rejaine Monteiro
Hi all, I´m running Nginx community edition and need to implement rate limiting There's plenty of guides out there on how to do this, but no guides on how to get real values/stats from the access logs What I need to get from the NGINX access logs is: - Requests per minute, per IP address - Av

lmit_req with differents rules

2022-12-15 Thread Rejaine Monteiro
Hello!! I need apply different limit_req rules with different rules, like limit_req_zone $binary_remote_addr zone=ipsrc:10m rate=1r/s; limit_req_zone $arg_token zone=apitoken:10m rate=5r/m; limit_req_zone $http_autorization zone=httpauth:10m rate=5r/s; server { listen 443; server_n

Re: Http failure reponse only with Iphone/IOS/Safari (nginx 1.8)

2022-05-23 Thread Rejaine Monteiro
th1.18 the problems started. Em seg., 23 de mai. de 2022 às 15:38, Rejaine Monteiro < reja...@bhz.jamef.com.br> escreveu: > > > sorry, nginx 1.17 to 1.18 > > > > Em seg., 23 de mai. de 2022 às 15:09, Sergey A. Osokin > escreveu: > >> Hi Rejaine, >

Re: Http failure reponse only with Iphone/IOS/Safari (nginx 1.8)

2022-05-23 Thread Rejaine Monteiro
sorry, nginx 1.17 to 1.18 Em seg., 23 de mai. de 2022 às 15:09, Sergey A. Osokin escreveu: > Hi Rejaine, > > hope you're doing well these days. > > On Mon, May 23, 2022 at 02:36:24PM -0300, Rejaine Monteiro wrote: > > I have an nginx working as a reverse proxy

Http failure reponse only with Iphone/IOS/Safari (nginx 1.8)

2022-05-23 Thread Rejaine Monteiro
I have an nginx working as a reverse proxy for several servers in the backend, after updated from 1.7 to 1.8 , everything is working fine, except for a webservice that is giving error only when accessed by IPhone/IOS/Safari.. That is, for Android, Windows, Chrome or Mozilla, it works normally. But