5 messages in ru.sysoev.nginxbuggy example on wiki
FromSent OnAttachments
Martin MinkaOct 23, 2007 5:05 am 
RoxisOct 23, 2007 5:41 am 
Martin MinkaOct 23, 2007 6:01 am 
Igor SysoevOct 23, 2007 6:56 am 
Martin MinkaOct 24, 2007 12:51 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:buggy example on wikiActions...
From:Martin Minka (mart@public.gmane.org)
Date:Oct 23, 2007 5:05:04 am
List:ru.sysoev.nginx

There are two types of examples on wiki about how to catch/serve static files. The example A is not working correctly for names ending with the extension. I used the example A and added *.tar files as static (location ~* ^.+\.(jpg|*jpeg*|gif|tar)$). I experienced troubles with "http://server.com/katar". It was processed like static file

A) location ~* ^.+\.(jpg|*jpeg*|gif)$ { is used in: http://wiki.codemongers.com/NginxFullExample2 http://wiki.codemongers.com/NginxRuExample http://wiki.codemongers.com/NginxDjangoFastCGI

B) location ~* \.(gif|jpg|*jpeg*)$ { is used in core module documentation

do you agree to change examples A ? is there a way to use mime type to catch static content ?

sincerely, Martin