I had a similar question regarding the nginx variables and paths in the conf file.  Is it possible to define your own variables?  For example, path names that are similar for development and production environments, but prefixed differently could be assigned, root $ROOT_DIR/deployed/current.   I'm assuming this isn't possible.  Am I correct?
<br><br><br>John<br><br><div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Igor Clark</b> &lt;<a href="mailto:igor@pokelondon.com">igor@pokelondon.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Obviously that should be &quot;/path/to/error.log&quot; in the error_log directive!<div><span class="e" id="q_1149261a677b5c60_1"><div><br><div><div>On 23 Aug 2007, at 11:40, Igor Clark wrote:</div><br><blockquote type="cite">
Hi there,<div><br></div><div>Is it possible to do something like:</div><div><br></div><div><span style="white-space: pre;">        </span>server_name<span style="white-space: pre;">        </span>*;</div><div><br></div><div><span style="white-space: pre;">
        </span>access_log&nbsp; /var/www/dynamic/vhost1/$http_host/logs/access.log&nbsp; main;</div><div><span style="white-space: pre;">        </span>error_log&nbsp;&nbsp; /var/www/dynamic/vhost1/$http_host/logs/access.log&nbsp; notice;</div><div><br></div><div>
I just get&nbsp;</div><div><br></div><div><span style="white-space: pre;">        </span>2007/08/23 11:37:35 [emerg] 19103#0: open() &quot;/var/www/dynamic/vhost1/$http_host/logs/access.log&quot; failed (2: No such file or directory)
</div><div><br></div><div>This machine only has 0.5.23, but that has served purposes perfectly well so far - would an update make any difference? Or is there an alternative way to do this?</div><div><br></div><div>Thanks very much,
</div><div><br></div><div>Igor</div><div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>--</div><div>Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749 5355 // <a href="http://www.pokelondon.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.pokelondon.com
</a></div></span></span></span><div><br></div></span><div>We&#39;ve&nbsp;gone sub-zero with the TopGear&nbsp;Cool Wall:&nbsp;<a href="http://www.topgear.com/coolwall/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.topgear.com/coolwall/</a></div><br></span></span></span> </div><br></div></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>--</div><div>Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749 5355 // <a href="http://www.pokelondon.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.pokelondon.com
</a></div></span></span></span><div><br></div></span><div>We&#39;ve&nbsp;gone sub-zero with the TopGear&nbsp;Cool Wall:&nbsp;<a href="http://www.topgear.com/coolwall/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.topgear.com/coolwall/</a></div><br></span></span></span> </div><br></div></span></div></div></blockquote></div><br>