aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_reverse_proxy.conf
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/apache/templates/vhost_reverse_proxy.conf
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da665.tar
puppet-2c7da665.tar.gz
puppet-2c7da665.tar.bz2
puppet-2c7da665.tar.xz
puppet-2c7da665.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'modules/apache/templates/vhost_reverse_proxy.conf')
-rw-r--r--modules/apache/templates/vhost_reverse_proxy.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/apache/templates/vhost_reverse_proxy.conf b/modules/apache/templates/vhost_reverse_proxy.conf
index 1488c682..1aabda4f 100644
--- a/modules/apache/templates/vhost_reverse_proxy.conf
+++ b/modules/apache/templates/vhost_reverse_proxy.conf
@@ -1,4 +1,4 @@
-<%= content %>
+<%= @content %>
ProxyRequests Off
ProxyPreserveHost On
@@ -10,6 +10,6 @@
<%- if url =~ /^https/ -%>
SSLProxyEngine On
<%- end -%>
- ProxyPass / <%= url %>
- ProxyPassReverse / <%= url %>
+ ProxyPass / <%= @url %>
+ ProxyPassReverse / <%= @url %>