Does setting a variable only work once?

Michael Shadle mike503 at gmail.com
Wed May 13 08:56:47 MSD 2009


sorry, i can't reproduce this at the moment.

a co-worker had reported it, now i need to see if it happens again.

2009/5/12 Igor Sysoev <is at rambler-co.ru>:
> 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