spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.9k stars 1.04k forks source link

Add DNS-01 challenge to configuring-playbook-ssl-certificates.md #3474

Closed longregen closed 3 months ago

longregen commented 3 months ago

I found https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2673#issuecomment-1547488680 to be extremely useful, and I thought it would be good to include it in the official documentation. This configuration worked for me after setting devture_traefik_config_certificatesResolvers_acme_dnsChallenge_enabled to true, which was missing on the example of the commenter in the above issue. Also, after taking a look at https://github.com/devture/com.devture.ansible.role.traefik/blob/main/defaults/main.yml#L75-L103 I changed the options to reflect their example.