limit_conn not working

2017-12-18 Thread Abilio Marques
limit_conn is not working for me. I set up a test in nodejs, I'm doing GET requests to http://localhost/, they are coming from different connections (different origin ports), and all the connections are still open until the very end, still, no response other than 200 is received. I double check wit

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
nothing, even tried 1024m Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277819#msg-277819 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
Hi Mate i tried both nginx -t nginx: [emerg] invalid max_size value "max_size=1GB" in /etc/nginx/nginx.conf:109 nginx: configuration file /etc/nginx/nginx.conf test failed root@nyc1:~# nginx -t nginx: [emerg] invalid max_size value "max_size=1Gb" in /etc/nginx/nginx.conf:109 nginx: configuration

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread Zhang Chao
Hello! > nginx -v > nginx version: nginx/1.13.7 > # Server globals > user www-data; > worker_processes auto; > worker_rlimit_nofile 65535; > error_log /var/log/nginx/error.log crit; > pid /var/run/nginx.pid; > > > # Worker config > events { > worker_connections 1024; > use epoll; > multi_accept o

Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
nginx -v nginx version: nginx/1.13.7 # Server globals userwww-data; worker_processesauto; worker_rlimit_nofile65535; error_log /var/log/nginx/error.log crit; pid /var/run/nginx.pid; # Worker config events { worker_connecti

Re: Problem using `proxy_redirect` to rewrite the same Location 2-or-more times?

2017-12-18 Thread Francis Daly
On Fri, Dec 08, 2017 at 08:48:55PM +, Alec Muffett wrote: Hi there, I have not tested this, but it looks like you might already have the answer... > - the origin responds with a 302: > > "Location: http://www.foo.com/"; ...or > "Location: http://www.bar.com/"; ...or > "Location: http://w

Re: curl connection refused

2017-12-18 Thread Joel Parker
Yeah, it was a network issue. tcpdump helped. Thanks > On Dec 18, 2017, at 1:39 PM, Francis Daly wrote: > > On Mon, Dec 18, 2017 at 01:31:57PM -0600, Joel Parker wrote: > > Hi there, > >> network connectivity, firewall, etc. are all configured correctly but still >> having issues when trying

Re: curl connection refused

2017-12-18 Thread Francis Daly
On Mon, Dec 18, 2017 at 01:31:57PM -0600, Joel Parker wrote: Hi there, > network connectivity, firewall, etc. are all configured correctly but still > having issues when trying to hit the proxy. It's is very strange, since the > ports are listening. I even turned off the firewall and the same iss

Re: Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-18 Thread Francis Daly
On Fri, Dec 15, 2017 at 03:25:20PM +0100, Johannes Rohr wrote: Hi there, I do not know joomla; and I do not have a direct answer for you. But some parts of your question seem unclear to me. Perhaps they are also unclear to someone who otherwise could give an answer. If you can clarify them, ma

Re: curl connection refused

2017-12-18 Thread Joel Parker
Yeah, network connectivity, firewall, etc. are all configured correctly but still having issues when trying to hit the proxy. It's is very strange, since the ports are listening. I even turned off the firewall and the same issues. Joel On Mon, Dec 18, 2017 at 1:26 PM, Francis Daly wrote: > On

Re: curl connection refused

2017-12-18 Thread Francis Daly
On Mon, Dec 18, 2017 at 01:21:41PM -0600, Joel Parker wrote: Hi there, > I have seen this a lot on google but have not been able to find a suitable > solution. My firewall is setup correctly. This looks like something that nginx can not do anything about. > curl localhost - works > curl 172.31.

curl connection refused

2017-12-18 Thread Joel Parker
I have seen this a lot on google but have not been able to find a suitable solution. My firewall is setup correctly. I am listening on port 80 netstat -anltp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program n