This repository has been archived on 2021-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
shipyard/letsencrypt/nginx/proxy-confs/mail.subdomain.conf

19 lines
369 B
Plaintext

# 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;
}