Variable substition inconsistency
mondalaci
nginx-forum at nginx.us
Thu Jul 12 21:05:24 UTC 2012
Hi List,
Here's a section of my configuration:
set $site mysite.com;
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?
Laci
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228546,228546#msg-228546
More information about the nginx
mailing list