Re: nginx-plus and nginx-asg-sync

2018-04-26 Thread Matthew VK3EVL
oops. 2nd problem is nginx won't start when the conf files listed in state don't have data in them, and they won't get data in them until nginx starts. Currently i just put in a dummy entry to get me by. On 27/04/2018 16:42, Matthew VK3EVL wrote: Hi all, New to nginx so still finding my way

nginx-plus and nginx-asg-sync

2018-04-26 Thread Matthew VK3EVL
Hi all, New to nginx so still finding my way around. I am running nginx-plus on amazon linux through AWS. I have setup nginx-asg-sync and i find i have 2 problems. The main one is sync isn't working. The nginx logs are spewing out 2018/04/27 06:19:24 [error] 21780#21780: *492 missing "upstrea

NGINX non-HTTP port forwarding from internet to private LAN preserving the client IP

2018-04-26 Thread Mauro Tridici
Dear Users, I really appreciate NGINX tool and I've been using it for a while, but I’m not an expert user. So, I would like to ask you if I can use NGINX i order to start a port forwarding from an internet client to a server machine in my private LAN preserving the client IP. IMPORTANT: the so

Nginx fastcgi_cache_background_update Issue/Question

2018-04-26 Thread c0nw0nk
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_background_update How can I switch between an On and a Off version of this function within a Nginx server { set $var 1; if ($var) { fastcgi_cache_background_update On; } Is there a way to do this even with Nginx + Lua i

Re: Nginx - Rate limit when origin server response code is 401

2018-04-26 Thread veerareddy
Hello Viet, I posted the same question on Digital Ocean forums and got a response suggesting to intercept errors from upstream and to rate limit based on the error using the `error_page` directive. I haven't tried it myself yet but it's worth a shot. Here's a link to the full post: https://www.dig

Unit 1.1 release

2018-04-26 Thread Valentin V. Bartenev
Hello, I'm glad to announce a new release of NGINX Unit. This is mostly a bugfix release with stability and compatibility improvements. Changes with Unit 1.126 Apr 2018 *) Bugfix: Python applications that use the write() callable did not wo

Re: Monitoring http returns

2018-04-26 Thread Liu Lantao
Author here :) Thanks Oscar. With `accounting` module, the metrics such as status codes, rates, and response time are logged, you can let it write to a local file, or (by default) via syslog to forward them to remote host/app. Another way is use ELK stack, document here: https://translate.google.

Re: NGINX closes the upstream connection in 60 seconds

2018-04-26 Thread Friscia, Michael
I have the same problem and used this to extent it to 2 minutes proxy_read_timeout 120s; ___ Michael Friscia Office of Communications Yale School of Medicine (203) 737-7932 - office (203) 931-5381 - mobile http://web.yale.edu From: ng

NGINX closes the upstream connection in 60 seconds

2018-04-26 Thread Ajay Sonawane
I am using Nginx proxy server as a reverse proxy and https load balancer. Client connects to backend server through the reverse proxy in a load balanced environment. I have setup the correct https configuration (with ssl certificates and all) so that my ssl communication is going through proxy.