Welcome! Log In Create A New Profile

Advanced

Dynamic proxy_pass hosts

October 22, 2009 05:20AM
In Apache it is possible to dynamically alter the proxy_pass remote
host, i.e. like this

RewriteRule ^/proxy_everything/(.*)$ http://$1 [P]

So I cant extract the host from the URI, or from the environment
variable etc.

Is it possible to do the same with nginx?

Thanks in advance,
Igor Katson.
Subject Author Posted

Dynamic proxy_pass hosts

descentspb October 22, 2009 05:20AM

Re: Dynamic proxy_pass hosts

Maxim Dounin October 22, 2009 06:06AM

Re: Dynamic proxy_pass hosts

descentspb October 22, 2009 07:58AM

Re: Dynamic proxy_pass hosts

Maxim Dounin October 22, 2009 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready