X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fstatic-vhost.conf.erb;h=9a3e83c1925c72a8ac88fdcce9cee31c2fd7e94f;hb=236683276e8f41dc54f2347d4eb85ba2ca74c5ee;hp=5b2eb4db3d20f06fb7708568e1baee695cb46e87;hpb=27e5ca03d936794fba94a521de8cf93148a7cb31;p=mirror%2Fdsa-puppet.git
diff --git a/modules/roles/templates/static-mirroring/static-vhost.conf.erb b/modules/roles/templates/static-mirroring/static-vhost.conf.erb
index 5b2eb4db3..9a3e83c19 100644
--- a/modules/roles/templates/static-mirroring/static-vhost.conf.erb
+++ b/modules/roles/templates/static-mirroring/static-vhost.conf.erb
@@ -1,6 +1,6 @@
# puppet maintained
- >
+ >
ServerName $name
ServerAdmin debian-admin@lists.debian.org
@@ -27,7 +27,7 @@
Require all granted
- Header set Surrogate-Key <%= hostname %>
+ Header set Surrogate-Key <%= @hostname %>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
@@ -35,7 +35,7 @@
- >
+ >
ServerName $name
ErrorLog /var/log/apache2/$name-error.log
@@ -46,7 +46,7 @@
- >
+ >
ServerName $onion
ErrorLog /var/log/apache2/$name-error.log
@@ -57,7 +57,7 @@
- >
+ >
ServerName $name
ErrorLog /var/log/apache2/$name-error.log