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