Welcome! Log In Create A New Profile

Advanced

Re: How to request an external url in nginx module?

Maxim Dounin
August 29, 2010 06:10AM
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
SubjectAuthorViewsPosted

How to request an external url in nginx module?

Yang, Shuo1239August 29, 2010 02:50AM

Re: How to request an external url in nginx module?

Maxim Dounin458August 29, 2010 06:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 84
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 150 on May 22, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready