summaryrefslogtreecommitdiff
path: root/templates/itk_plus
diff options
context:
space:
mode:
Diffstat (limited to 'templates/itk_plus')
-rw-r--r--templates/itk_plus/CentOS/00-listen-ssl.conf.erb2
-rw-r--r--templates/itk_plus/CentOS/00-listen.conf.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/itk_plus/CentOS/00-listen-ssl.conf.erb b/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
index 1c06433..83f7bee 100644
--- a/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
+++ b/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
@@ -2,5 +2,5 @@
Listen 127.0.0.1:443
</IfDefine>
<IfDefine !HttpdLocal>
-Listen <%= ipaddress %>:443
+Listen <%= scope.lookupvar('::ipaddress') %>:443
</IfDefine>
diff --git a/templates/itk_plus/CentOS/00-listen.conf.erb b/templates/itk_plus/CentOS/00-listen.conf.erb
index 9f2c626..30b2046 100644
--- a/templates/itk_plus/CentOS/00-listen.conf.erb
+++ b/templates/itk_plus/CentOS/00-listen.conf.erb
@@ -3,6 +3,6 @@ Listen 127.0.0.1:80
PidFile run/httpdlocal.pid
</IfDefine>
<IfDefine !HttpdLocal>
-Listen <%= ipaddress %>:80
+Listen <%= scope.lookupvar('::ipaddress') %>:80
PidFile run/httpd.pid
</IfDefine>