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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel
  • Proxy Pass Antonio Nappa
    • Re: Proxy Pass Aleksandar Lazic

Reply via email to