Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
On Fri, Dec 16, 2022 at 1:38 AM Maxim Dounin wrote: > Hello! > > On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote: > > > > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > > CentOS Linux release 7.9.2009 (Core). When I hit > http://mydomain.com/apis I > >

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Maxim Dounin
Hello! On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote: > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the upstream server php

Re: lmit_req with differents rules

2022-12-15 Thread Maxim Dounin
Hello! On Thu, Dec 15, 2022 at 09:50:46AM -0300, Rejaine Monteiro wrote: > 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 $ht

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
On Thu, Dec 15, 2022 at 9:53 PM Kaushal Shriyan wrote: > Hi, > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the upstream server php-fpm > serve

Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2022-12-15 Thread Kaushal Shriyan
Hi, I am running the nginx version: nginx/1.22 as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I see the below message on the browser even if the upstream server php-fpm server is up and running. *{"errors": {"status_code": 502,"status": "php

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