Hello!
On Sun, Aug 29, 2010 at 02:49:05PM +0800, Yang, Shuo wrote:
> I want to request an external url with a subrequest, but i found
> ngx_http_subrequest() could not do it, how can i do that?
ngx_http_subrequest(/local/uri);
location = /local/uri {
proxy_pass ...external url...;
}
Maxim Dounin
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel