Re: Proxying and caching a fragile server to ensure availability

2013-08-21 Thread B.R.
Hello, On Wed, Aug 21, 2013 at 10:35 PM, cachito wrote: > B.R. Wrote: > --- > > Hello, > > > > On Wed, Aug 21, 2013 at 9:42 PM, cachito wrote: > > > > > if ($http_cookie ~* > > > > > "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress

Re: gzip compression won't disable

2013-08-21 Thread B.R.
Hello, On Wed, Aug 21, 2013 at 9:48 PM, Michael Kovacs wrote: > Hey all, > > I'm running nginx 1.2.6 from a packaged install on Ubuntu 13.04. I'm at a > total loss as to how this is happening but I simply cannot disable gzip > compression for my server no matter what I try. Setting gzip off; in

Re: Proxying and caching a fragile server to ensure availability

2013-08-21 Thread cachito
B.R. Wrote: --- > Hello, > > On Wed, Aug 21, 2013 at 9:42 PM, cachito wrote: > > > if ($http_cookie ~* > > > "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in") > { > > set $no_cache 1; > > } > > > > ​​If the user sen

Re: Proxying and caching a fragile server to ensure availability

2013-08-21 Thread B.R.
Hello, On Wed, Aug 21, 2013 at 9:42 PM, cachito wrote: > if ($http_cookie ~* > "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in") { > set $no_cache 1; > } > ​​If the user sends requests using cookies from Wordpress, the cache won't be used... Thus, you seem not to cac

Re: gzip compression won't disable

2013-08-21 Thread cachito
My guess: If the compressed files are pregenerated and sitting on the filesystem (e.g. you have blah.json and blah.json.gz), nginx will serve them to any browser that sends the correct Accept-Encoding headers. Good luck. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242107,242108#msg-

gzip compression won't disable

2013-08-21 Thread Michael Kovacs
Hey all, I'm running nginx 1.2.6 from a packaged install on Ubuntu 13.04. I'm at a total loss as to how this is happening but I simply cannot disable gzip compression for my server no matter what I try. Setting gzip off; in nginx.conf in the http context doesn't work. I modified the default config

Proxying and caching a fragile server to ensure availability

2013-08-21 Thread cachito
Hello colleagues. I'm trying to save a website hosted on a (VERY) low-powered server by placing a strong nginx server in front of it as a caching proxy. I don't control the website code and the rest of its configuration, so I'm not free to move it elsewhere stronger. I'd like to have the caching

Re: Nginx stuck on startup

2013-08-21 Thread xfce4
nevermind. problem with vhosts config Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242101,242102#msg-242102 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx stuck on startup

2013-08-21 Thread xfce4
Hi everyone, Recently I've needed to restart nginx on my vps (which is debian wheezy) and it got stuck. Other services are fine but nginx not responding if there is a file operation involved. For example nginx -h prints out fine, but nginx -t is just waiting. How can I examine problem? dmesg and

Re: Piwik conf file

2013-08-21 Thread Francis Daly
On Tue, Aug 20, 2013 at 04:05:09PM -0700, Paul N. Pace wrote: > On Tue, Aug 20, 2013 at 2:44 PM, Francis Daly wrote: > > On Mon, Aug 19, 2013 at 02:53:36PM -0700, Paul N. Pace wrote: Hi there, > >> I am trying to set up a conf file for Piwik installations and I'm > >> hoping a second set of of e

Re: TLS 1.2 ciphers

2013-08-21 Thread stephan13360
Thanks. I never even considered that the certificate could be the problem. Maxim Dounin Wrote: --- > Hello! > > On Wed, Aug 21, 2013 at 01:19:01PM -0400, stephan13360 wrote: > > > Chrome 29 came out recently and now supports TLS 1.2. So i decid

Re: Nginx as Reverse Proxy for Tomcat + SSL

2013-08-21 Thread sajan tharayil
Hi Jens, I will explain you my need. I need an end to en encryption for my client server communication. Client ->nginx/haproxy- https nginx/haprody -> tomcat - https So one way to do this is a layer 4 load balancing at nginx/haproxy layer. But What I am trying to do is to do a layer 7 enc

Re: TLS 1.2 ciphers

2013-08-21 Thread Maxim Dounin
Hello! On Wed, Aug 21, 2013 at 01:19:01PM -0400, stephan13360 wrote: > Chrome 29 came out recently and now supports TLS 1.2. So i decided to add > some of the new TLS 1.2 ciphers to my webserver, which are specified here: > https://www.openssl.org/docs/apps/ciphers.html#TLS_v1_2_cipher_suites. >

TLS 1.2 ciphers

2013-08-21 Thread stephan13360
Chrome 29 came out recently and now supports TLS 1.2. So i decided to add some of the new TLS 1.2 ciphers to my webserver, which are specified here: https://www.openssl.org/docs/apps/ciphers.html#TLS_v1_2_cipher_suites. My current setup is: Ubuntu 10.04, Nginx 1.5.3 ,OpenSSL 1.0.1e (build myself)

SV: Nginx as Reverse Proxy for Tomcat + SSL

2013-08-21 Thread Jens Rantil
Hi Sajan, Which of the two subproblems is that you are having issues with? Kind Regards, Jens -Ursprungligt meddelande- Från: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] För sajan tharayil Skickat: den 21 augusti 2013 13:05 Till: nginx@nginx.org Ämne: Re: Nginx as Reverse P

Re: Nginx as Reverse Proxy for Tomcat + SSL

2013-08-21 Thread sajan tharayil
Hi Dounin, > 3) Can I have an SSL from Client to Nginx and another between Nginx and > Tomcat . Yes. How do we do this. I am trying to find a way to do this, either with Haproxy or Nginx Kind Regards Sajan -- Posted via http://www.ruby-forum.com/.

Re: How to distinguish if nginx generated a 504 error or upstream returned it?

2013-08-21 Thread Maxim Dounin
Hello! On Tue, Aug 20, 2013 at 04:43:40PM -0600, Alex Flex wrote: > Hello ! > > I run nginx as a reverse proxy and send requests to an upstream > server, the problem is according to my logs sometimes i start seeing > this: > > [499] [-] [0] [11602] [xx.126.55.81] [GET /weblogin/ HTTP/1.1] > >