X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/12e55b9a956bcbed90ce4f925ef56e9e1812eda0..ab3cf06dd7f5ee5d793a683999bdd65e5d7f2ed0:/cookbooks/git/recipes/web.rb diff --git a/cookbooks/git/recipes/web.rb b/cookbooks/git/recipes/web.rb index 7e1f38cc2..4bdd50160 100644 --- a/cookbooks/git/recipes/web.rb +++ b/cookbooks/git/recipes/web.rb @@ -45,6 +45,13 @@ template "/srv/#{git_site}/robots.txt" do mode "644" end +template "/srv/#{git_site}/indextext.html" do + source "indextext.html.erb" + owner "root" + group "root" + mode "644" +end + ssl_certificate git_site do domains [git_site] + Array(node[:git][:aliases]) notifies :reload, "service[apache2]"