Reload nginx immediately after enabling the Let's Encrypt vhost

This commit is contained in:
Greg Karékinian 2019-04-15 10:51:18 +02:00
parent 227288e28e
commit d2142b046f

View File

@ -32,6 +32,7 @@ action :create do
nginx_site "#{domain}_certbot" do nginx_site "#{domain}_certbot" do
action :enable action :enable
notifies :reload, 'service[nginx]', :immediately
end end
include_recipe "kosmos-base::letsencrypt" include_recipe "kosmos-base::letsencrypt"