Use cert called office.
This commit is contained in:
parent
a40a1e73f1
commit
deebbac89d
@ -59,11 +59,11 @@
|
||||
# Certs #
|
||||
|
||||
- name: Server | OnlyOffice | HTTPS | Check For Cert
|
||||
shell: ls -l /etc/letsencrypt/live/docs.hyperling.com/{fullchain,privkey}.pem
|
||||
shell: ls -l /etc/letsencrypt/live/office.hyperling.com/{fullchain,privkey}.pem
|
||||
register: onlyoffice_cert
|
||||
|
||||
- name: Server | OnlyOffice | HTTPS | Create Cert
|
||||
shell: certbot --nginx -d docs.hyperling.com
|
||||
shell: certbot --nginx -d office.hyperling.com
|
||||
when: onlyoffice_cert.failed
|
||||
|
||||
# Config #
|
||||
@ -85,8 +85,8 @@
|
||||
# create: no
|
||||
# backup: yes
|
||||
# loop:
|
||||
# - { "regexp": "ssl_certificate ", "line": " ssl_certificate /etc/letsencrypt/live/docs.hyperling.com/fullchain.pem" }
|
||||
# - { "regexp": "ssl_certificate_key ", "line": " ssl_certificate_key /etc/letsencrypt/live/docs.hyperling.com/privkey.pem" }
|
||||
# - { "regexp": "ssl_certificate ", "line": " ssl_certificate /etc/letsencrypt/live/office.hyperling.com/fullchain.pem" }
|
||||
# - { "regexp": "ssl_certificate_key ", "line": " ssl_certificate_key /etc/letsencrypt/live/office.hyperling.com/privkey.pem" }
|
||||
|
||||
# Services #
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user