how to make nginx find my assets that are not in my public/?

Maxim Dounin mdounin at mdounin.ru
Tue Aug 16 21:12:08 UTC 2011


Hello!

On Tue, Aug 16, 2011 at 03:47:05PM -0500, Patrick Aljord wrote:

> Thanks a lot Maxim, this worked great. This is how my conf looks like
> now, not sure if it's perfect yet but for anyone interested:
> 
> http://pastie.org/private/8jat5h9kdagmvtxxzr9pcw

You don't need all these if's in "location /", try_files is to 
replace them all.

Maxim Dounin



More information about the nginx mailing list