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=c8178a26d055a8bd41d12036d3378f9833a99aa8;hp=26108117a3525f7dbd9757c8feb90d02801514dd;hpb=a54fc8c09027aebe5a314c40e663241de378865d;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 26108117a..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 @@ -66,6 +65,7 @@ Use common-debian-service-ssl $name Use common-ssl-HSTS + Use http-pkp-$name Use static-vhost-base-$name