Re: Weak ETags and on-the-fly gzipping

2016-05-17 Thread neoelit
neoelit Wrote: --- > Thanks for the quick reply. :) > Yeah so nginx shouldn't be the issue. I'm trying to figure why > If-None-Match header not reaching rails on passenger-standalone. Since > it has nginx version 1.8+ this should be the issue. I m

Re: Weak ETags and on-the-fly gzipping

2016-05-17 Thread neoelit
Thanks for the quick reply. :) Yeah so nginx shouldn't be the issue. I'm trying to figure why If-None-Match header not reaching rails on passenger-standalone. Since it has nginx version 1.8+ this should be the issue. https://groups.google.com/forum/#!topic/phusion-passenger/eZgw3TqrfSI Posted at N

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

2016-05-17 Thread fengli
Is there any plan to support it? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266933,266968#msg-266968 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Websocket Validation

2016-05-17 Thread Francis Daly
On Tue, May 17, 2016 at 10:33:24AM -0700, vikrant singh wrote: Hi there, > I use nginx as a proxy, and establish a webscoket between client and > backend.I validate user's cookies before establish WS and when WS is in > use I validate cookies on backend periodically. > > With this set up in pl

Re: Serving website with Apache, with Nginx as interface?

2016-05-17 Thread Alex Hall
On Tue, May 17, 2016 at 1:37 PM, Francis Daly wrote: > On Mon, May 16, 2016 at 08:50:44AM -0400, Alex Hall wrote: > > Hi there, > > > Well, it seems to be working now, and I'm thoroughly embarrassed about > it. > > The Nginx/Apache setup is fine, and has been, it seems. > > Thanks for reporting t

Re: Serving website with Apache, with Nginx as interface?

2016-05-17 Thread Francis Daly
On Mon, May 16, 2016 at 08:50:44AM -0400, Alex Hall wrote: Hi there, > Well, it seems to be working now, and I'm thoroughly embarrassed about it. > The Nginx/Apache setup is fine, and has been, it seems. Thanks for reporting that result -- it'll help the future reader of the mailing list (http:/

Websocket Validation

2016-05-17 Thread vikrant singh
Hello, I use nginx as a proxy, and establish a webscoket between client and backend.I validate user's cookies before establish WS and when WS is in use I validate cookies on backend periodically. With this set up in place when a user's cookie expires , an established WS will remain in use unt

Re: Gzip issue with Safari

2016-05-17 Thread Francis Daly
On Mon, May 16, 2016 at 06:06:21AM -0400, mcofko wrote: Hi there, I confess I am not at all sure what it is you are asking about. If it is clear to others who can help you, then there is no need for you to do anything; but if it is generally unclear, perhaps you could describe again what you do,

Re: limit_req_zone values

2016-05-17 Thread Francis Daly
On Sun, May 15, 2016 at 03:47:37PM -0400, tom.b wrote: Hi there, > limit_req_zone $server_name zone=perserver:10m rate=5r/s; > limit_req zone=perserver burst=5; limit_req is to limit the number of requests that your nginx will handle at a time. Why do you want to limit the number of requests?

Re: Access and Error Log file for Nginx stream server configuration

2016-05-17 Thread itpp2012
stream { error_log logs/stream_error.log; or error_log logs/stream_error.log debug; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266943,266947#msg-266947 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Re: Weak ETags and on-the-fly gzipping

2016-05-17 Thread Maxim Dounin
Hello! On Tue, May 17, 2016 at 10:05:53AM -0400, neoelit wrote: > Is there anyway i can override this from nginx config file? > I need weak etag to be untouched by nginx :( Weak ETags are supported and used since nginx 1.7.3 as released on 08 Jul 2014, quote from http://nginx.org/en/CHANGES:

Re: Weak ETags and on-the-fly gzipping

2016-05-17 Thread neoelit
Is there anyway i can override this from nginx config file? I need weak etag to be untouched by nginx :( Posted at Nginx Forum: https://forum.nginx.org/read.php?2,240120,266944#msg-266944 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Access and Error Log file for Nginx stream server configuration

2016-05-17 Thread kmg
Seems access_log and error_log options are not available in stream server section. If its available, can you please share some example config for me ?. Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266943,266943#msg-266943 ___ ngin

Re: proxy_cache is not working

2016-05-17 Thread reaper
It was already set but apparently wasn't being used. location /static/ { try_files $uri @apache-cache; proxy_cache_valid 5m; } location @apache-cache { ... proxy_ignore_headers Set-Cookie Expires Cache-Control; proxy_hide_header Set-Cookie; internal; } Moved this directi

Re: proxy_cache is not working

2016-05-17 Thread Maxim Dounin
Hello! On Tue, May 17, 2016 at 08:39:00AM -0400, reaper wrote: > nginx is not caching anything. Every request that's supposed to be cached > has "http cacheable: 0" in debug log. > > Test request is a static page with headers like those > > < HTTP/1.1 200 OK > < Date: Tue, 17 May 2016 12:23:36

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

2016-05-17 Thread Valentin V. Bartenev
On Monday 16 May 2016 19:23:32 fengli wrote: > Is there a way to send back HTTP2 trailers? > [..] No. The trailer part isn't supported. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

proxy_cache is not working

2016-05-17 Thread reaper
nginx is not caching anything. Every request that's supposed to be cached has "http cacheable: 0" in debug log. Test request is a static page with headers like those < HTTP/1.1 200 OK < Date: Tue, 17 May 2016 12:23:36 GMT < Server: Apache/2.2.15 (CentOS) < X-Powered-By: PHP/5.5.32 < Content-Lengt

Re: reverse proxying exchange with rpc/mapi over http

2016-05-17 Thread itpp2012
Sure, just make sure when its TCP you use stream {}, the rest can use http {} Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266936,266938#msg-266938 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

reverse proxying exchange with rpc/mapi over http

2016-05-17 Thread gladston3
Hello, is it possible to make a reverse proxy for exchange with all features working (activesync, rpc over http, mapi over http, etc...) with the free version of nginx. Or is this only possible with nginx plus? I do not need any of the (advanced) loadbalancing features offered by the plus version,