try_files and proxy_pass
Walter Cruz
walter.php at gmail.com
Tue Aug 18 05:39:01 MSD 2009
Hi! I would like to use a setting like that:
location / {
try_files $uri $uri/ @proxy;
}
location @proxy {
proxy_pass http://127.0.0.1:8089;
}
With nginx serving static content and apache serving dinamic content. With
that setting. I got a error:
"proxy_pass" may not have URI part in location given by regular expression,
or inside named location, or inside the "if" statement, or inside the
"limit_except" block in
Is that a nginx limitation ? (Can't use a proxy in try_files fallback)
Nginx version: 0.7.61
--
[]'
- Walter
waltercruz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090817/2cb519c3/attachment.html>
More information about the nginx
mailing list