Reload nginx immediately after enabling the Let's Encrypt vhost
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user