Variable substition inconsistency

mondalaci nginx-forum at
Thu Jul 12 21:05:24 UTC 2012

Hi List,

Here's a section of my configuration:

set $site;
root /var/www/$site;
server_name $site;
access_log /var/log/nginx/${site}_access.log;
error_log /var/log/nginx/${site}_error.log;

In this example root and access_log gets substituted, server_name and
error_log doesn't.  Where can I look up that in which contexts
substitution works?


Posted at Nginx Forum:,228546,228546#msg-228546

More information about the nginx mailing list