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;
On Tue, May 12, 2009 at 12:07:10PM -0700, Michael S. wrote:
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 ?
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 S. [email protected]:
what don’t you understand?
we don’t understand you, ENGLISH only please.
2009/5/12 “å人” [email protected]:
ä¸çŸ¥é“sites.conf的内容。ä¸è¿‡çœ‹èµ·æ¥ä½ 是想动æ€è®¾ç½®ç›‘å¬ç«¯å£ï¼Œè¿™æ˜¯ä¸è¡Œçš„,é‡è®¾ç›‘å¬ç«¯å£å¿…é¡»é‡å¯æœåŠ¡
Posted at Nginx Forum:
translate :
chinese: ä¸çŸ¥é“sites.conf的内容。ä¸è¿‡çœ‹èµ·æ¥ä½ 是想动æ€è®¾ç½®ç›‘å¬ç«¯å£ï¼Œè¿™æ˜¯ä¸è¡Œçš„,é‡è®¾ç›‘å¬ç«¯å£å¿…é¡»é‡å¯æœåŠ¡
english: i don’t know the contents of sites.conf , It looks like you are
set the service port and reload nginx,
That won’t take effect except restart service
I’d like to correct something you said: reload nginx service can
effective immediately
2009-05-13
Chancey
å‘件人: Michael S.
å‘é€æ—¶é—´ï¼š 2009-05-13 04:31:43
收件人: nginx
抄é€ï¼š
主题: Re: Does setting a variable only work once?
what don’t you understand?
we don’t understand you, ENGLISH only please.
2009/5/12 “å人” [email protected]:
omg, this mail-list is offering translation nowadays, awesome!
2009/5/13 Chancey [email protected]
å…„å¼Ÿä½ ä¼¼ä¹Žå¯¹NGINX蛮熟悉的,å¯ä»¥å‘Šè¯‰æˆ‘ä½ çš„è”系方å¼ä¹ˆã€‚
2009/5/13 “å人” [email protected]
I hope so
2009-05-13
Chancey
å‘件人: 汪洪伟
å‘é€æ—¶é—´ï¼š 2009-05-13 09:31:53
收件人: nginx
抄é€ï¼š
主题: Re: Re: Does setting a variable only work once?
omg, this mail-list is offering translation nowadays, awesome!
2009/5/13 Chancey [email protected]
translate :
chinese: ä¸çŸ¥é“sites.conf的内容。ä¸è¿‡çœ‹èµ·æ¥ä½ 是想动æ€è®¾ç½®ç›‘å¬ç«¯å£ï¼Œè¿™æ˜¯ä¸è¡Œçš„,é‡è®¾ç›‘å¬ç«¯å£å¿…é¡»é‡å¯æœåŠ¡
english: i don’t know the contents of sites.conf , It looks like you are
set the service port and reload nginx,
That won’t take effect except restart service
I’d like to correct something you said: reload nginx service can
effective immediately
2009-05-13
Chancey
å‘件人: Michael S.
å‘é€æ—¶é—´ï¼š 2009-05-13 04:31:43
收件人: nginx
抄é€ï¼š
主题: Re: Does setting a variable only work once?
what don’t you understand?
we don’t understand you, ENGLISH only please.
2009/5/12 “å人” [email protected]: