Re: TLS for a generic TCP session?

2016-05-18 Thread Preety Mordani
Hey All, I was looking over the feature differences between nginx and nginx-plus and its not clear to me if nginx by itself supports TLS termination for a generic TCP session. If it does not support TLS termination for TCP sessions, then are my only other options : 1. building the mainline sou

TLS for a generic TCP session?

2016-05-18 Thread Preety Mordani
Hey All, I was looking over the feature differences between nginx and nginx-plus and its not clear to me if nginx by itself supports TLS termination for a generic TCP session. If it does not support TLS termination for TCP sessions, then are my only other options : 1. building the mainline sourc

Re: include file with "if" statements

2016-05-18 Thread w_boba
Thank you for the direction where to look. You were right. It was too wide of a wildcard in http{} section outside of server/location. Fixed now. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266986,266991#msg-266991 ___ nginx mailing list

Re: Fully hiding localhost:8080 with Nginx as reverse proxy?

2016-05-18 Thread Francis Daly
On Mon, May 16, 2016 at 05:00:06PM -0400, Alex Hall wrote: Hi there, > trying to send mail from OSTicket, and while OST claims success, I'm not > seeing any messages coming to my account. I was doing some searching and > found that this can happen if the email appears to come from localhost, or >

Re: include file with "if" statements

2016-05-18 Thread Maxim Dounin
Hello! On Wed, May 18, 2016 at 11:35:48AM -0400, w_boba wrote: > I have several different "templates" for location and most of templates have > common part like this: > > -- > /etc/nginx/nginx.conf: > http { > include /etc/nginx/conf.d/*.conf; > } > --

Re: Gzip issue with Safari

2016-05-18 Thread Francis Daly
On Wed, May 18, 2016 at 03:37:51AM -0400, mcofko wrote: Hi there, > enabled gziping on nginx and it's working on Chrome perfectly (we know this > looking at network tab in developer tools, where we can see the size of the > gzipped file one.dds that needed to be downloaded and it's around 2MB whi

Re: nginx on high load (upstream prematurely closed connection while reading response header from upstream)

2016-05-18 Thread Francis Daly
On Wed, May 18, 2016 at 04:50:24AM -0400, muzi wrote: Hi there, > I am facing strange issue, during load test and peak load of more than 3k > concurrent users, get below errors in nginx logs continuously. > > 2016/05/18 11:23:28 [error] 15510#0: *6853 upstream prematurely closed > connection whi

include file with "if" statements

2016-05-18 Thread w_boba
I have several different "templates" for location and most of templates have common part like this: -- /etc/nginx/nginx.conf: http { include /etc/nginx/conf.d/*.conf; } -- /etc/nginx/conf.d/config12345.conf: server { listen 12345; location / {

Re: Is there a way to send back HTTP2 trailers?

2016-05-18 Thread Valentin V. Bartenev
On Tuesday 17 May 2016 19:02:31 fengli wrote: > Is there any plan to support it? > Currently there are no such plans. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

nginx on high load (upstream prematurely closed connection while reading response header from upstream)

2016-05-18 Thread muzi
Dear Guys, I am facing strange issue, during load test and peak load of more than 3k concurrent users, get below errors in nginx logs continuously. 2016/05/18 11:23:28 [error] 15510#0: *6853 upstream prematurely closed connection while reading response header from upstream, client: x.x.x.x, serve

Re: Gzip issue with Safari

2016-05-18 Thread mcofko
Let me try to explain it a little more detailed. My main problem: "But the problem appears in Safari which doesn't accept .gz file type extension", which means although we have enabled gziping on nginx and it's working on Chrome perfectly (we know this looking at network tab in developer tools, wh