services: letsencrypt: mail subdomain redirection to Migadu

This commit is contained in:
Bruno BELANYI 2020-07-18 15:12:24 +02:00
parent 8f051ad319
commit a3173f8799

View file

@ -0,0 +1,18 @@
# Redirect to Migadu webmail
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name mail.*;
include /config/nginx/ssl.conf;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
# enable for Authelia
#include /config/nginx/authelia-server.conf;
return 301 https://webmail.migadu.com;
}