Commit e3c10463 authored by nimrod's avatar nimrod
Browse files

Same well-known directory for ACME challenge for mail.

To make more uniform, use the same location on all hosts. Instead of
copying the same tasks over and over in the renew-certs playbook in the
homelab repo.
parent 82c43ba9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,10 +2,10 @@ server {
    listen      80;
    listen      [::]:80;
    server_name imap.shore.co.il smtp.shore.co.il mta-sts.shore.co.il;
    root        /var/www/mail.shore.co.il/;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/www-acme-challenge.conf;
}

server {
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ services:
    restart: always
    volumes:
      - '/var/www/www.shore.co.il/.well-known/acme-challenge:/var/www/www.shore.co.il/.well-known/acme-challenge:ro'
      - '/var/www/mail.shore.co.il/.well-known/acme-challenge:/var/www/mail.shore.co.il/.well-known/acme-challenge:ro'
      - '/var/ssl/site.key:/var/ssl/site.key:ro'
      - '/var/ssl/site.crt:/var/ssl/site.crt:ro'
      - '/var/ssl/mail.key:/var/ssl/mail.key:ro'