Skip to content
Snippets Groups Projects
Commit 3294e2c8 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 cadcd533
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,10 @@ server { ...@@ -2,10 +2,10 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name imap.shore.co.il smtp.shore.co.il mta-sts.shore.co.il; 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/robots-disallow-all.conf;
include snippets/ads-txt.conf; include snippets/ads-txt.conf;
include snippets/security-txt.conf; include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
} }
server { server {
......
...@@ -20,7 +20,6 @@ services: ...@@ -20,7 +20,6 @@ services:
restart: always restart: always
volumes: volumes:
- '/var/www/www.shore.co.il/.well-known/acme-challenge:/var/www/www.shore.co.il/.well-known/acme-challenge:ro' - '/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.key:/var/ssl/site.key:ro'
- '/var/ssl/site.crt:/var/ssl/site.crt:ro' - '/var/ssl/site.crt:/var/ssl/site.crt:ro'
- '/var/ssl/mail.key:/var/ssl/mail.key:ro' - '/var/ssl/mail.key:/var/ssl/mail.key:ro'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment