Reload nginx immediately after enabling the Let's Encrypt vhost

This commit is contained in:
greg committed 2019-04-15 10:51:18 +02:00
1 parent 227288e28e
commit d2142b046f
1 file changed
+1
@@ -32,6 +32,7 @@ action :create do
nginx_site "#{domain}_certbot" do
action :enable
notifies :reload, 'service[nginx]', :immediately
end
include_recipe "kosmos-base::letsencrypt"