From a7797c331e1fa86bdef5c49d6870d822dc591217 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 5 Oct 2024 16:09:13 -0700 Subject: Use @ when accessing variables in templates Access without the @ symbol is the older method and is discouraged. This take leaves alone accesses of variables that are defined within the template, which don't seem to allow an @. This batch of changes is for templates related to web sites. --- deployment/websites/templates/vhost_static.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deployment/websites/templates/vhost_static.conf') diff --git a/deployment/websites/templates/vhost_static.conf b/deployment/websites/templates/vhost_static.conf index d250a712..fcadc425 100644 --- a/deployment/websites/templates/vhost_static.conf +++ b/deployment/websites/templates/vhost_static.conf @@ -1,5 +1,5 @@ - ServerName static.<%= domain %> + ServerName static.<%= @domain %> DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %> CustomLog /var/log/httpd/static_log combined @@ -40,7 +40,7 @@ - ServerName static.<%= domain %> + ServerName static.<%= @domain %> DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %> CustomLog /var/log/httpd/static_log combined -- cgit v1.2.1