ansible-role-mailserver/templates/mxdomain-website-domain.nginx

15 lines
390 B
Plaintext
Raw Normal View History

2020-10-11 12:06:32 +02:00
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name {{ mailserver_mx_domain }};
ssl_certificate /etc/dehydrated/certs/{{ mailserver_mx_domain }}/fullchain.pem;
ssl_certificate_key /etc/dehydrated/certs/{{ mailserver_mx_domain }}/privkey.pem;
include snippets/letsencrypt.conf;
root /srv/http/{{ mailserver_mx_domain }};
index index.html index.htm index.php;
}