X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dfa81864e13b40f052ac48cb1954e69f415e1dd9..5601a966ab8dec4c589ff5507bda66b6f599fe27:/cookbooks/piwik/recipes/default.rb diff --git a/cookbooks/piwik/recipes/default.rb b/cookbooks/piwik/recipes/default.rb index 444788003..8561491b2 100644 --- a/cookbooks/piwik/recipes/default.rb +++ b/cookbooks/piwik/recipes/default.rb @@ -91,6 +91,12 @@ mysql_database "piwik" do permissions "piwik@localhost" => :all end +ssl_certificate "piwik.openstreetmap.org" do + domains ["piwik.openstreetmap.org", "piwik.osm.org"] + fallback_certificate "openstreetmap" + notifies :reload, "service[apache2]" +end + apache_site "piwik.openstreetmap.org" do template "apache.erb" end