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=HEAD;hp=89f6c3e31dfcec8b17c2c396ab66c97fc76da487;hpb=0aa459dd4a50208a2c12de4923a1b4d5702cc375;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 89f6c3e31..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 @@ -24,11 +24,10 @@ AllowOverride FileInfo Indexes Options=Multiviews Options Indexes SymLinksIfOwnerMatch - IndexOptions FancyIndexing NameWidth=* Require all granted - Header set Surrogate-Key <%= hostname %> + Header set Surrogate-Key <%= @hostname %> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css @@ -36,7 +35,7 @@ - > + > ServerName $name ErrorLog /var/log/apache2/$name-error.log @@ -47,7 +46,7 @@ - > + > ServerName $onion ErrorLog /var/log/apache2/$name-error.log @@ -58,7 +57,7 @@ - > + > ServerName $name ErrorLog /var/log/apache2/$name-error.log