Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 553 Bytes
  • Include the following where you think appropriate to your Nginx tasks.
- name: Run letsencrypt/nginx.yml
  include_role:
    name: letsencrypt
    tasks_from: nginx
  • Add include /etc/nginx/snippets/lets-encrypt.conf; to your nginx sites.
  • Add something like this to your vars:
letsencrypt_email: h.acker@example.com
letsencrypt_webroot_dir: /mnt/data/www/acme-challenges/
letsencrypt_cert_domains:
  mail.example.com:
    - imap.example.com
    - smtp.example.com
  example.com:
    - www.example.com
  • ???
  • Profit