How to request an external url in nginx module?

Maxim Dounin mdounin at
Sun Aug 29 14:08:48 MSD 2010


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?


location = /local/uri {
    proxy_pass ...external url...;

Maxim Dounin

More information about the nginx-devel mailing list