Set up certbot to get a Let's Encrypt certificate for xmpp.5apps.com

This commit is contained in:
Greg Karékinian
2017-03-19 20:17:51 +00:00
parent 3f15330b00
commit 5b0658eb4b
3 changed files with 70 additions and 0 deletions

View File

@@ -22,6 +22,12 @@ end
package "prosody"
service "prosody" do
action [:enable]
end
include_recipe "5apps-xmpp_server::letsencrypt"
# backup the data dir and the config files
node.override["backup"]["archives"]["prosody"] = ["/var/lib/prosody", "/etc/prosody"]
include_recipe "backup"