services: letsencrypt: mail subdomain redirection to Migadu
This commit is contained in:
parent
8f051ad319
commit
a3173f8799
18
letsencrypt/nginx/proxy-confs/mail.subdomain.conf
Normal file
18
letsencrypt/nginx/proxy-confs/mail.subdomain.conf
Normal 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;
|
||||||
|
}
|
Reference in a new issue