Re: Re: How to control keepalive connections for upstream before the version of 1.15.3

2019-11-19 Thread wu560130911
I'm use Nginx proxy to tomcat, tomcat have two parameters manage keep alive, first one is keepAliveTimeout : how the connection idle time; second is maxKeepAliveRequests : how the connection reuse counts; when use Nginx version before the version of 1.15.3, Nginx can't know when tomcat will be cl

Re: feature request: warn when domain name resolves to several addresses

2019-11-19 Thread Roger Pack
On Tue, Nov 19, 2019 at 12:01 PM Maxim Dounin wrote: > > Hello! Hi back again :) > On Tue, Nov 19, 2019 at 10:47:01AM -0700, Roger Pack wrote: > > > I noticed that in ngx_http_proxy_module > > > > proxy_pass http://localhost:8000/uri/; > > "If a domain name resolves to several addresses, all of

Re: feature request: warn when domain name resolves to several addresses

2019-11-19 Thread Maxim Dounin
Hello! On Tue, Nov 19, 2019 at 10:47:01AM -0700, Roger Pack wrote: > I noticed that in ngx_http_proxy_module > > proxy_pass http://localhost:8000/uri/; > "If a domain name resolves to several addresses, all of them will be > used in a round-robin fashion. In addition, an address can be > specifi

Re: How to avoid sending incomplete request data to backend if 499 error

2019-11-19 Thread Maxim Dounin
Hello! On Tue, Nov 19, 2019 at 10:29:37AM -0500, feanorknd wrote: > Hello... > > Few days ago I have had this problem... let me explain with log lines: > > X.X.X.X - - [16/Nov/2019:04:36:17 +0100] "POST /api/budgets/new HTTP/2.0" > 200 2239 "" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2 like M

feature request: warn when domain name resolves to several addresses

2019-11-19 Thread Roger Pack
I noticed that in ngx_http_proxy_module proxy_pass http://localhost:8000/uri/; "If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group." However this can be confusing for end users who innocentl

Re: [nginx-announce] nginx-1.17.6

2019-11-19 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.17.6 for Windows https:// kevinworthington.com/nginxwin1176 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows bi

Re: Help with nginx second request

2019-11-19 Thread Maxim Dounin
Hello! On Wed, Nov 13, 2019 at 04:38:54PM +0200, Эмануил Кант wrote: > Hi all, > I would really appreciate it if you could help me with nginx. > > The situation is: > Nginx (v. 1.14.2) redirects the request to the application > server. In case this request with the POST method and the > applic

How to avoid sending incomplete request data to backend if 499 error

2019-11-19 Thread feanorknd
Hello... Few days ago I have had this problem... let me explain with log lines: X.X.X.X - - [16/Nov/2019:04:36:17 +0100] "POST /api/budgets/new HTTP/2.0" 200 2239 "" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/86.0.276299193 Mobile/15E1

njs-0.3.7

2019-11-19 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications. Notable new features: - Object.assign() method: : > var obj = { a: 1, b: 2 } : undefined : > var copy = Object.assign({}, obj) : undefined : >

nginx-1.17.6

2019-11-19 Thread Maxim Dounin
Changes with nginx 1.17.619 Nov 2019 *) Feature: the $proxy_protocol_server_addr and $proxy_protocol_server_port variables. *) Feature: the "limit_conn_dry_run" directive. *) Feature: the $limit_req_status and $limit_conn_status variable