Reload nginx service when changing vhost

This commit is contained in:
Greg 2016-02-19 19:02:13 +01:00
parent 3f1f2d7626
commit d1d3dc428c
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ template "#{node['nginx']['dir']}/sites-available/wordpress" do
ssl_key: ssl_key_path
)
action :create
notifies :reload, "service[nginx]", :delayed
end
nginx_site 'wordpress' do