proxy_pass AND module_perl

Igor Sysoev is at rambler-co.ru
Sun Oct 11 19:25:02 MSD 2009


On Sat, Oct 10, 2009 at 11:05:34AM -0400, tsukasagenesis wrote:

> I have try :
> 
> 
> http {
>  	 	 perl_set $backend_url 'sub { return "http://www.google.fr"; }';

-  perl_set $backend_url 'sub { return "http://www.google.fr"; }';
+  perl_set $backend_url 'sub { return "http://www.google.fr/"; }';

>   server {
> 	listen       80;
> 	location / {
> 	 proxy_pass $backend_url;
> 	 }
>   }
> }
>  
> 
> 
> But don't work, an idea ?
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,12699,12715#msg-12715
> 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list