Add the Let's Encrypt hook dir to the config

Only enabled when there is no TLS cert. This is already part of the
certbot nginx vhost
This commit is contained in:
Greg Karékinian 2020-06-02 16:17:34 +02:00
parent 0c502580c2
commit 55865c526c

View File

@ -16,6 +16,10 @@ server {
<% else -%>
listen 80;
server_name <%= @server_name %>;
location /.well-known {
root "/var/www/<%= @server_name %>";
}
<% end -%>
location / {