Welcome! Log In Create A New Profile

Advanced

Variable substition inconsistency

July 12, 2012 05:05PM
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
Subject Author Posted

Variable substition inconsistency

mondalaci July 12, 2012 05:05PM

Re: Variable substition inconsistency

Maxim Dounin July 12, 2012 05:18PM

Re: Variable substition inconsistency

mondalaci July 12, 2012 08:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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