Re: Error 502 Bad Gateway on nginx

2019-10-07 Thread Lahiru Prasad
Hi, Does nc -l 9000 gives the same bind error ? If so, better to check netstat for :9000 sockets with all status, like netstat -anp | grep :9000 to get an idea. Regards, Lahiru Prasad. On Mon, Oct 7, 2019 at 11:38 AM mmpl wrote: > Error 502 Bad Gateway on nginx and php-fpm > Pos

Nginx front-end and back-end socket details

2019-02-28 Thread Lahiru Prasad
, I need to get the matching back-end socket. So what I expect is something like this; 78.12.34.12:2312 > 23.34.12.53:80 172.16.2.2:3243 > 172.16.2.3:8080 Regards, Lahiru Prasad. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/m

Re: Monitor active connections per proxy pass

2018-12-07 Thread lahiru
Hi, Currently we are using upstream check module to check the health of each upstream. I want to know whether there's a module to get the number of active connections per proxy pass. /abc --- how many active connections /xyz --- how many active connections Regards, Lahiru Prasad. Post

Monitor active connections per proxy pass

2018-12-03 Thread Lahiru Prasad
Hi, Currently we are using upstream check module to check the health of each upstream. I want to know whether there's a module to get the number of active connections per proxy pass. /abc --- how many active connections /xyz --- how many active connections Regards, Lahiru P

Cache POST requests

2018-09-25 Thread Lahiru Prasad
M disk for this. Regards, Lahiru Prasad. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: remove some parameters from $args

2013-10-06 Thread lahiru
Works like a charm. Thank you very much Yichun. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243462,243472#msg-243472 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

remove some parameters from $args

2013-10-06 Thread lahiru
Hello, I'm using memcached + srcache. I need to modify the $args and take it as the cache key. For example; RT=62&SID=BC3781C3-2E02-4A11-89CF-34E5CFE8B0EF&UID=44332&L=EN&M=1&H=1&UNC=0&SRC=LK I need to convert above $args string to below by removing parameters SID and UID. RT=62&L=EN