I am sorry that my mail was so confusing.
I did not checked the pages correctly. The problem is only on
http://wiki.codemongers.com/NginxDjangoFastCGI .
The *jpeg* is result of copping from Wiki in highlighting mode.
On 10/23/07, Igor Sysoev <is-G...@public.gmane.org> wrote:
On Tue, Oct 23, 2007 at 02:05:27PM +0200, Martin Minka wrote:
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
The "\.(jpg|jpeg|gif|tar)$" should not match "/katar".
As I understand the only NginxDjangoFastCGI is incorrect:
- location ~* ^.+.(html|...
+ location ~* ^.+\.(html|...
B)
location ~* \.(gif|jpg|*jpeg*)$ {
is used in core module documentation
do you agree to change examples A ?
Where do you see "*jpeg*" ?
is there a way to use mime type to catch static content ?
No.