Location blocks are interpreted in order, so you need to put the no-proxy one after the proxy one. Alternately, if you want to keep the proxy directives at the vhost level, the answer given by fission works just fine!