Il giorno 25/ago/2010, alle ore 14.02, Łukasz Wróblewski ha scritto:

> Of course I thought about it, but I still have limit_conn and is not related 
> to static files.
> So far what I've done for all the static files directory eg /static/.
> 
> However, due to these files as favicon.ico, robots.txt, sitemap.xml 
> configuration of Nginx to grow.
> Not only that I have to repeatedly reproduce the path to the root.
> Maybe "set" to solve this problem, but I thought that this approach of 
> $request_filename is more convenient.
> 
> I see not much bigger security risks ?


By "security risk" i mean "another thing to keep in your mind". Think about 
file uploads, you have to check for their filename ecc. ecc.

> 
> Would be nice to see on the wiki complete sample configuration Nginx + uwsgi 
> + static files (such as favicon.ico, robots.txt /images/)
> 
> 


I have seen the answer Maxim Dounin gives to you on the nginx mailing-list.

I will report tit on the wiki.

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to