Il giorno 25/ago/2010, alle ore 12.59, Łukasz Wróblewski ha scritto:
> 
> 
> 
> Unfortunately, I have:
> Restarting nginx: [emerg]: "include" directive is not allowed here in line 7.
> 
> would it not be able to do "include" inside "if" ?!
> any advice ?
> 
> 
> 

Put the include line out of the if statement, the only relevant option is 
uwsgi_pass.

By the way, i am not a big fan of the rubyonrails-like static file rule, i find 
defining a location for every static
directory a better (and more secure) way.
--
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