Ugh. Sorry to reply to own post, but forum ate square brackets and changed meaning in mail archive. It should have said like this:
> This worked consistently in 0.7.6x (and according to the docs, it should work):
>
> location = /base { (some stuff) }
> location ^~ /base { (different stuff) }
>
> [snip]