Add nginx to mail servers for getting certificate

This commit is contained in:
Timo Makinen 2020-09-24 15:24:03 +00:00
parent 83304f752c
commit c8387f759a
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,7 @@
firewall_in: firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]} - {proto: tcp, port: 22, from: [172.20.20.0/22]}
- {proto: tcp, port: 25} - {proto: tcp, port: 25}
- {proto: tcp, port: 443}
- {proto: tcp, port: 465} - {proto: tcp, port: 465}
- {proto: tcp, port: 587} - {proto: tcp, port: 587}
- {proto: tcp, port: 993} - {proto: tcp, port: 993}

View file

@ -14,3 +14,7 @@
- nfs-client - nfs-client
- ldap/nss - ldap/nss
- autofs - autofs
- role: nginx/server
- role: nginx/site
site: "{{ mail_server }}"
redirect: https://www.foo.sh/