Hello, all.<div><br></div><meta charset="utf-8"><div><div>nginx version: nginx/0.7.67</div></div><div><br></div><div>This works great to look first in fast local storage, and then fall back to slower storage for older archives:</div>
<div><br></div><div><div> location ^~ /providers/ {</div><div> error_page 404 = @archives;</div><div> log_not_found off;</div><div> }</div><div> location @archives {</div><div> rewrite "/providers/(.*)" /archives/providers/$1 last;</div>
<div> }</div></div><div><br></div><div>I thought I could tidy this up by doing the following, but it doesn't work:</div><div><br></div><div><div> location ^~ /providers/ {</div><div> try_files $uri /archives$uri @mongrel_app;</div>
<div> }</div></div><div><br></div><div>Anyone see why? Thanks in advance.</div><div><br></div><div>Aaron</div><div><br></div><div><div><br></div></div>