Re: Issue in configuring nginx for libwebsocket

2013-10-18 Thread Hemant Kumar
I changed the configuration to : location /hello { hello; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true;

Issue in configuring nginx for libwebsocket

2013-10-18 Thread Hemant Kumar
Hi All I am a newbie with nginx server. I am trying to get websocket configuration working on cent-os.(linux 2.6.32-358.18.1.el6.x86_64). Following is my nginx config file; http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $re

Re: Weak ETags and on-the-fly gzipping

2013-10-18 Thread grosser
There take this patch and just apply it :) --- nginx-1.3.8/src/http/modules/ngx_http_gzip_filter_module.c 2012-07-07 17:22:27.0 -0400 +++ nginx-1.3.8-weak-etags-shorter/src/http/modules/ngx_http_gzip_filter_module.c2012-11-21 17:05:12.758389000 -0500 @@ -306,7 +306,15 @@ ngx_http_clear_c

Re: Weak ETags and on-the-fly gzipping

2013-10-18 Thread grosser
Please someone implement weak etags or a "do_not_strip_etags" options for this, it's a big hit on our performance / page response time and we cannot simply replace that with Last-Modified. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240120,243845#msg-243845

Re: Strange proxy_pass problem

2013-10-18 Thread Francis Daly
On Fri, Oct 18, 2013 at 05:34:22PM +0200, Rainer Duffner wrote: Hi there, > server { > listen 80 default_server; > server { > listen our.ip; If your nginx.conf has only those two server{} blocks with only those two listen directives, then I would expect that every request that

Re: Fastcgi_cache + ngx_pagespeed

2013-10-18 Thread ddutra
I just looked a little bit more on the topic and it is not possible I believe. I would have to put something in front of nginx (another nginx) or Varnish - but that is a shame since nginx fastcgi_cache works so fine. Best regards. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243824,

Strange proxy_pass problem

2013-10-18 Thread Rainer Duffner
Hi, I recently upgraded a server from nginx 1.2.8 to 1.4.3 (on FreeBSD amd64). nginx is a reverse-proxy to apache, intended to serve static files directly and pass all php requests zu apache - with one exception: the default vhost on both nginx and apache. It looks like this (on apache): Ali

Fastcgi_cache + ngx_pagespeed

2013-10-18 Thread ddutra
Hi guys, First of all, I am aware that this is not the place to get ngx_pagespeed support. I am only coming here because I am this close to archieving the performance I need, and here is the place where I had the most sucess with my questions so far. Forgive me if it is out of place. Second, I wo