Does setting a variable only work once?
    Igor Sysoev 
    is at rambler-co.ru
       
    Wed May 13 08:27:22 MSD 2009
    
    
  
On Tue, May 12, 2009 at 12:07:10PM -0700, Michael Shadle wrote:
> neither of these work. it only takes the first $port, the second one is ignored
> 
>                 set $port 11019;
>                 root /home/foo/web/bar.com;
>                 include /etc/nginx/expires.conf;
>                 include /etc/nginx/confs/phpmyadmin.conf;
>                 location /sites {
>                         set $port 11003;
>                         include /etc/nginx/confs/sites.conf;
>                 }
> or
>                 set $port 11019;
>                 root /home/foo/web/bar.com;
>                 include /etc/nginx/expires.conf;
>                 include /etc/nginx/confs/phpmyadmin.conf;
>                 set $port 11003;
>                 include /etc/nginx/confs/sites.conf;
It should work. Could you send me debug log ?
-- 
Igor Sysoev
http://sysoev.ru/en/
    
    
More information about the nginx
mailing list