vhost_le/nginx_le_vhost_template

18 lines
435 B
Plaintext

##
# Auto-generated configuration for Hadoly Virtual Hosts
server {
listen [::]:80;
server_name {{ second_domains }};
# configuration for Let's Encrypt ACME
location ~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /var/lib/acme/challenges;
}
location = /.well-known/acme-challenge/ {
return 404;
}
}