X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7a4e7ecd0bcab75a3555d7425a0812983dcb2533..c4817c654797638bf16b54f4f9b69ed3715625cb:/cookbooks/dev/recipes/default.rb diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 3c5dafe25..08af7112b 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -201,6 +201,11 @@ if node[:postgresql][:clusters][:"9.5/main"] notifies :run, "execute[#{rails_directory}]" end + ssl_certificate site_name do + domains [site_name] + site_aliases + notifies :reload, "service[apache2]" + end + apache_site site_name do template "apache.rails.erb" variables :name => site_name, :aliases => site_aliases, :secret_key_base => secret_key_base @@ -241,6 +246,11 @@ if node[:postgresql][:clusters][:"9.5/main"] mode 0o644 end + ssl_certificate "apis.dev.openstreetmap.org" do + domains "apis.dev.openstreetmap.org" + notifies :reload, "service[apache2]" + end + apache_site "apis.dev.openstreetmap.org" do template "apache.apis.erb" end