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

2019-02-25 Thread yf chu
2019-02-25 20:22:56, "Maxim Dounin" wrote: >Hello! > >On Mon, Feb 25, 2019 at 03:45:27PM +0800, yf chu wrote: > >> The Nginx document said that there are two upstream-related >> directives introduced in the version of 1.15.3: >> "keepalive_requests

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

2019-02-25 Thread yf chu
The Nginx document said that there are two upstream-related directives introduced in the version of 1.15.3: "keepalive_requests" and "keepalive_timeout". But the directive "keepalive" has already been instroduced in the version of 1.1.4. So I want to know how does Nginx handle the keepalive c

client timed out (110: Connection timed out) while SSL handshaking for web browser on mobile device

2019-02-02 Thread yf chu
We have found that occassionally the web page could not be opened with browser on mobile device. We sometimes wait for a very long time before we get the error message that this web page could not be opened, but then we reopen the page and the normal page shows without any problems. We have chec

Does the variable "$request_time" include ssl handshake time?

2018-12-21 Thread yf chu
The definition of "$request_time" is that "request processing time in seconds with a milliseconds resolution; time elapsed since the first bytes were read from the client". But I want to know whether it includes the ssl handshake time? If not, is there any method to get the duration of ssl hands

The problem of "client prematurely closed connection while processing HTTP/2 connection"

2018-12-13 Thread yf chu
I was haunted recently by the problem that some of our customers were complaining that they often see that the web page could not be opened because of connection reset. This issue did not occur very frequently, but rather bothering. It often occurs after a POST request was sent to server. Then

Re:Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread yf chu
cached response body to client. At 2018-12-08 06:23:54, "Francis Daly" wrote: >On Sun, Dec 02, 2018 at 06:29:33PM +0800, yf chu wrote: > >Hi there, > >> We all know that the cache feature in Nginx will cache all response content >> generated by ups

Can Nginx only cache reponse body while excluding some response headers?

2018-12-02 Thread yf chu
We all know that the cache feature in Nginx will cache all response content generated by upstream server. But I wonder whether there is a solution that only the response body is cached by Nginx while some response headers should not be cached and should be sent to client directly .I know that Ng

Re:Re: Can Nginx handle millions of static pages or pictures ?

2018-11-02 Thread yf chu
if compute resources, a website like this is much more reliable than a dynamic site. There are few moving parts that can go wrong. Have fun! Pete Sent from my iPhone On Nov 2, 2018, at 1:18 AM, yf chu wrote: I have a website with tens of millions of pages. The content on the page stored i

Can Nginx handle millions of static pages or pictures ?

2018-11-01 Thread yf chu
I have a website with tens of millions of pages. The content on the page stored in database but the data is not changed very frequently. so for the sake of improving the performance of the website and reducing the costs of deployment of web applications, I want to generate the static pages for t