Welcome! Log In Create A New Profile

Advanced

Re: Does setting a variable only work once?

All files from this thread

File Name File Size   Posted by Date  
14.gif 1.6 KB open | download Chancey 05/12/2009 Read message
May 13, 2009 12:27AM
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/
Subject Author Posted

Does setting a variable only work once?

mike May 12, 2009 03:07PM

Re: Does setting a variable only work once?

坏人 May 12, 2009 04:23PM

Re: Does setting a variable only work once?

mike May 12, 2009 04:28PM

Re: Re: Does setting a variable only work once?

Chancey May 12, 2009 09:08PM

Re: Re: Does setting a variable only work once?

汪洪伟 May 12, 2009 09:29PM

Re: Re: Re: Does setting a variable only work once? Attachments

Chancey May 12, 2009 10:08PM

Re: Does setting a variable only work once?

deltay May 12, 2009 10:33PM

Re: Does setting a variable only work once?

Igor Sysoev May 13, 2009 12:27AM

Re: Does setting a variable only work once?

mike May 13, 2009 12:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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