Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass AND module_perl

October 10, 2009 11:05AM
I have try :

[code]
http {
perl_set $backend_url 'sub { return "http://www.google.fr"; }';
server {
listen 80;
location / {
proxy_pass $backend_url;
}
}
}

[/code]

But don't work, an idea ?
Subject Author Posted

proxy_pass AND module_perl

tsukasagenesis October 10, 2009 09:32AM

Re: proxy_pass AND module_perl

tsukasagenesis October 10, 2009 11:05AM

Re: proxy_pass AND module_perl

Srebrenko Sehic October 11, 2009 04:04AM

Re: proxy_pass AND module_perl

tsukasagenesis October 11, 2009 06:18AM

Re: proxy_pass AND module_perl

tsukasagenesis October 16, 2009 07:51AM

Re: proxy_pass AND module_perl

Igor Sysoev October 11, 2009 11:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 57
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