Re: Nginx -> strategy ?

2013-05-12 Thread mex
hi, i faced a similar question for a client with a lot of files and found out, after a lot of testing and benchmarking, it nearly doesnt matter if we serve those files from a ram-tmpfs or use the systems os-cache (given, we have plenty of it). so the os (linux) seems to do a good job. the servers

Nginx -> strategy ?

2013-05-12 Thread Larry
Hello, I would like to know how nginx could deal with this situation the most comfortable way to serve static files : 1) Is tree traversing fast on xfs/ext4 filesystems ? aaa/bbb/ccc number of files inside the last subfolder is approx 2000. 2) Will nginx prefer another strategy ? It is a bit a o

JavaScript and CSS minifiers questions

2013-05-12 Thread dcreatorx
Hi, I'm trying to set up JavasCript and CSS minify via the CPAN modules. I'm using debian 6 64 bit squeeze. I have compiled Nginx with perl module, installed all build dependencies before compiling, downloaded CPAN JS minify and CSS minify, compiled and installed them. When I run Nginx in debug mod

Re: location matching.

2013-05-12 Thread Steve Wilson
The good news is it looks like subversion clients support SNI so I've got a new server block which is now working great. server { listen 80; ## listen for ipv4 listen 443; ## listen for ipv4 listen [::]:80; ## listen for ip

Re: location matching.

2013-05-12 Thread Steve Wilson
On 12/05/2013 16:34, Jonathan Matthews wrote: > On 12 May 2013 16:21, Steve Wilson wrote: >> On 12/05/2013 15:55, Jonathan Matthews wrote: >>> Have you looked at the ^~ prefix mentioned in >>> http://wiki.nginx.org/HttpCoreModule#location ? >>> >>> It looks like what you need ... >> >> I thought

Re: location matching.

2013-05-12 Thread Jonathan Matthews
On 12 May 2013 16:21, Steve Wilson wrote: > On 12/05/2013 15:55, Jonathan Matthews wrote: >> Have you looked at the ^~ prefix mentioned in >> http://wiki.nginx.org/HttpCoreModule#location ? >> >> It looks like what you need ... > > I thought I'd tried that, and even with the change in config it's

Re: location matching.

2013-05-12 Thread Steve Wilson
On 12/05/2013 15:55, Jonathan Matthews wrote: > Have you looked at the ^~ prefix mentioned in > http://wiki.nginx.org/HttpCoreModule#location ? > > It looks like what you need ... I thought I'd tried that, and even with the change in config it's still giving me the 404 errors. changed config:

Re: location matching.

2013-05-12 Thread Jonathan Matthews
Have you looked at the ^~ prefix mentioned in http://wiki.nginx.org/HttpCoreModule#location ? It looks like what you need ... -- Jonathan Matthews // Oxford, London, UK http://www.jpluscplusm.com/contact.html ___ nginx mailing list nginx@nginx.org htt

location matching.

2013-05-12 Thread Steve Wilson
I've just had to move subversion onto a server that's already serving network wordpress via nginx. Most things work via /svn in a subversion client but I can't for the life of me figure out how to stop /svn.*\.php hitting the fastcgi_pass. I'm sure it's simple and I'm just not seeing the wood for