Script for creating VirtualHosts and generate Let's Encrypt certificates.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

17 lines
435 B

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