bundlewrap/data/mailserver-autodiscover/vhost.conf

16 lines
462 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
root ${root};
location ~ /(?:a|A)utodiscover/(?:a|A)utodiscover.xml {
try_files /autodiscover/autodiscover.php =404;
fastcgi_pass php-handler;
include params/fastcgi;
}
}