Proxy Pass
Aleksandar Lazic
al-nginx at none.at
Tue Apr 4 21:40:54 UTC 2017
Hi.
Am 04-04-2017 17:02, schrieb Antonio Nappa:
> Hello, in another of my experiments I would like to redirect to a
> completely different website the request, I had a look at the
> proxy_pass directive and the corresponding module, and I see that
> a location handler is set, which means it will hook as the only
> content handler.
> My question is, could I do the same as proxy_pass dinamically and
> not at config time? For example in the rewrite phase as you would
> do with the ngx_http_internal_redirect.
Could proxy_redirect
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
be a solution?
Regards
Aleks
> Thanks
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list