Re: sent_http_HEADER Volatile under Nginx 1.2.4

2013-12-12 Thread Paul Taylor
Hi Maxim, Thanks for your response. You’re right! Using the map did work (I thought I’d tried that, but must have been tired!). So, now I have one other challenge, the value of $foo that you define below is needed to identify whether to cache the response of not. The only issue is that I have a

Re: sent_http_HEADER Volatile under Nginx 1.2.4

2013-12-12 Thread Maxim Dounin
Hello! On Thu, Dec 12, 2013 at 07:19:56PM +, Paul Taylor wrote: > I’m in the process of making some amends to an environment, > where my upstream servers are sending a custom header > (X-No-Cache), which I need to detect and alter caching rules > within the configuration. > > The custom h

sent_http_HEADER Volatile under Nginx 1.2.4

2013-12-12 Thread Paul Taylor
I’m in the process of making some amends to an environment, where my upstream servers are sending a custom header (X-No-Cache), which I need to detect and alter caching rules within the configuration. The custom header is visible within the output, and I can re-output it as another header throu

Re: Google Analytics with nginx reverse proxy

2013-12-12 Thread fakrulalam
Google analytics code (the JavaScript) works properly when I point my domain to apache server. But when I point my domain to nginx (as reverse proxy); Google Analytics statistics get dropped and it doesn't show the actual users hits. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,24546

Re: Problem with TLS handshake in some browsers when OCSP stapling enabled

2013-12-12 Thread Maxim Dounin
Hello! On Thu, Dec 12, 2013 at 11:59:26AM +0400, kyprizel wrote: > Hi, > we got a problem with OCSP stapling. > > During the handshake some browsers send TLS extension "certificate status" > with more than 5 bytes in it. > In Nginx error_log it looks like: > > [crit] 8721#0: *35 SSL_do_handshak

Re: location configuration?

2013-12-12 Thread Jeffrey Walton
On Thu, Dec 12, 2013 at 9:36 AM, coderman wrote: > On Thu, Dec 12, 2013 at 6:30 AM, Jeffrey Walton wrote: >> I'm reading through the nginx architecture document at >> http://www.aosabook.org/en/nginx.html. >>... >> What is the location configuration, and why is it significant? > > e.g.: (assuming

Re: location configuration?

2013-12-12 Thread coderman
On Thu, Dec 12, 2013 at 6:30 AM, Jeffrey Walton wrote: > I'm reading through the nginx architecture document at > http://www.aosabook.org/en/nginx.html. >... > What is the location configuration, and why is it significant? e.g.: (assuming some web root set) ... # location configuration for di

location configuration?

2013-12-12 Thread Jeffrey Walton
I'm reading through the nginx architecture document at http://www.aosabook.org/en/nginx.html. The location configuration is called out in a few places. For example: Phase handlers typically do four things: get the location configuration, generate an appropriate response, send the head

Re: Google Analytics with nginx reverse proxy

2013-12-12 Thread Lasse Laursen
Google analytics code (the JavaScript) isn't served from your server. I don't quite understand what your problem is? Sent from my iPhone > On 12/12/2013, at 12.33, "fakrulalam" wrote: > > I am using NGINX as reverse proxy and forward the traffic to Apache server > where Google Analytics is con

Google Analytics with nginx reverse proxy

2013-12-12 Thread fakrulalam
I am using NGINX as reverse proxy and forward the traffic to Apache server where Google Analytics is configured. I have configured proxy_set_header and from Apache server I can view users IP address. But in Googel Analytics users session droped. I am wonder where there is any other configuration n

Re: Nginx Deployments in Practice

2013-12-12 Thread 54chen
Oh..sorry,it's all my fault.Because I am writing too much java codes. 2013/12/12 Yichun Zhang (agentzh) > Hello! > > On Wed, Dec 11, 2013 at 5:55 PM, 54chen wrote: > > Omnibus seems use AgentZh's ngx tar.gz. > > Just a side note: please never never put capital letters into my nick > because I h

Problem with TLS handshake in some browsers when OCSP stapling enabled

2013-12-12 Thread kyprizel
Hi, we got a problem with OCSP stapling. During the handshake some browsers send TLS extension "certificate status" with more than 5 bytes in it. In Nginx error_log it looks like: [crit] 8721#0: *35 SSL_do_handshake() failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag er