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
Subject Author Views Posted

How to request an external url in nginx module?

Yang, Shuo 2079 August 29, 2010 02:50AM

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

Maxim Dounin 941 August 29, 2010 06:10AM



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

Online Users

Guests: 109
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready