Re: Set ssl_session_tickets each virtual host is unable?

2017-01-12 Thread malloc813
Maxim Dounin Wrote: --- > Hello! > > On Thu, Jan 12, 2017 at 11:57:58AM -0500, malloc813 wrote: > > > Hi, I tested nginx configuration and got one problem. > > For example, I made 2 virtual hosts. They are SSL enabled server. > > > > http > > {

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

2017-01-12 Thread Steven Hartland
I believe you want proxy_ignore_client_abort on to achieve that. On 12/01/2017 19:23, Jonathan Geyser wrote: Richard, On further investigation -- it looks like the client was closing the front-end connection. I need the back-end socket to remain open regardless of what the front-end is doing.

Re: Adjusting server_names_hash_bucket_size before nginx throws an error

2017-01-12 Thread Vladimir Kozyrev
What a relief! Thanks Maxim! On Thu, Jan 12, 2017 at 6:38 PM, Maxim Dounin wrote: > Hello! > > On Thu, Jan 12, 2017 at 03:12:30PM +0300, Vladimir Kozyrev wrote: > > > My issue is that I add server {} and upstream {} directives dynamically > to > > /etc/nginx/conf.d/dynamic_vhost.conf. > > Once t

Re: Nginx not honoring keepalive / multiple requests to http backend over single TCP session

2017-01-12 Thread Jonathan Geyser
Richard, On further investigation -- it looks like the client was closing the front-end connection. I need the back-end socket to remain open regardless of what the front-end is doing. Is there a way to accomplish this? Thanks in advance, Jonathan On Tue, Jan 10, 2017 at 2:26 PM, Richard Stanway

Re: Set ssl_session_tickets each virtual host is unable?

2017-01-12 Thread Maxim Dounin
Hello! On Thu, Jan 12, 2017 at 11:57:58AM -0500, malloc813 wrote: > Hi, I tested nginx configuration and got one problem. > For example, I made 2 virtual hosts. They are SSL enabled server. > > http > { > #host1 > server > { > ... > ssl_sesstion_tickets off; > ... > } > > #host2 > {

Set ssl_session_tickets each virtual host is unable?

2017-01-12 Thread malloc813
Hi, I tested nginx configuration and got one problem. For example, I made 2 virtual hosts. They are SSL enabled server. http { #host1 server { ... ssl_sesstion_tickets off; ... } #host2 { ... ssl_session_tickets on; ... } } Visit host1 after apply this configuration, chr

Re: SSL Offloading in UDP load

2017-01-12 Thread Maxim Konovalov
On 1/12/17 2:30 PM, Maxim Konovalov wrote: > Hello, > > On 1/12/17 2:26 PM, nginxsantos wrote: >> Hi, >> >> Does the opensource Nginx support DTLS offloading when acting as an UDP >> loadbalancer? >> > It doesn't. > Btw, it would be useful for us to learn more your specific use case for this feat

Re: Nginx record length during disk IO

2017-01-12 Thread Maxim Dounin
Hello! On Thu, Jan 12, 2017 at 12:18:28PM +, Nikolaos Tsipas wrote: > Hello, > > We're load testing nginx focusing on disk IO performance and we're trying > to understand what's the record length used during caching operations. The > reason why we'd like to know the utilised record length is

Re: Adjusting server_names_hash_bucket_size before nginx throws an error

2017-01-12 Thread Maxim Dounin
Hello! On Thu, Jan 12, 2017 at 03:12:30PM +0300, Vladimir Kozyrev wrote: > My issue is that I add server {} and upstream {} directives dynamically to > /etc/nginx/conf.d/dynamic_vhost.conf. > Once the file grew, nginx stopped working and I increased hash_bucket_size > parameter to make it work ag

Re: Behavior between upstream hash and backup

2017-01-12 Thread Jonathan Simowitz via nginx
Thank you Maxim; that is exactly the detailed response I was looking for. If possible I would recommend updating the docs to clarify this for others. http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash ~Jonathan On Thu, Jan 12, 2017 at 9:44 AM, Maxim Dounin wrote: > Hello! > > On W

Re: Behavior between upstream hash and backup

2017-01-12 Thread Maxim Dounin
Hello! On Wed, Jan 11, 2017 at 04:27:51PM -0500, Jonathan Simowitz via nginx wrote: > Hello, > > I would like to define an upstream block with a number of servers and > utilize the hash directive to choose a particular server dependent on the > request. There is a chance that the chosen server c

Re: Beginner question:Nginx request_uri meaning ?

2017-01-12 Thread Maxim Dounin
Hello! On Thu, Jan 12, 2017 at 09:43:35AM +0100, Bike dernikov1 wrote: > Hi, > Thanks for answer and detail explanation. > So to conclude and confirm that i undestand completly. > If client request > > http://www.example.com/index.html > > return 301 $scheme://example1.com$request_uri; > > mea

Re: proxy_cache seems not working with X-Accel-Redirect

2017-01-12 Thread bdesemb
I made a diagram to be more specific. It's not a problem if the client ask for /data and get an older version of the file. The invalidate option in proxy_cache is enough for me. Here is my diagram without cache: http://imgur.com/a/soq69 Obviously, I don't want to reach the upstream server every t

Nginx record length during disk IO

2017-01-12 Thread Nikolaos Tsipas
Hello, We're load testing nginx focusing on disk IO performance and we're trying to understand what's the record length used during caching operations. The reason why we'd like to know the utilised record length is that we could then use similar settings during our SSDs load tests. We had a look

Adjusting server_names_hash_bucket_size before nginx throws an error

2017-01-12 Thread Vladimir Kozyrev
My issue is that I add server {} and upstream {} directives dynamically to /etc/nginx/conf.d/dynamic_vhost.conf. Once the file grew, nginx stopped working and I increased hash_bucket_size parameter to make it work again. Is there a way to calculate what value should I set to hash_bucket_size parame

Re: SSL Offloading in UDP load

2017-01-12 Thread Maxim Konovalov
Hello, On 1/12/17 2:26 PM, nginxsantos wrote: > Hi, > > Does the opensource Nginx support DTLS offloading when acting as an UDP > loadbalancer? > It doesn't. -- Maxim Konovalov ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

SSL Offloading in UDP load

2017-01-12 Thread nginxsantos
Hi, Does the opensource Nginx support DTLS offloading when acting as an UDP loadbalancer? Thanks, Santos Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271957,271957#msg-271957 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.or

Re: Beginner question:Nginx request_uri meaning ?

2017-01-12 Thread Bike dernikov1
Hi, Thanks for answer and detail explanation. So to conclude and confirm that i undestand completly. If client request http://www.example.com/index.html return 301 $scheme://example1.com$request_uri; mean: return 301 http://example1.com/index.html. Thanks again for big help. I wold never found