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:
parent
0c502580c2
commit
55865c526c
@ -16,6 +16,10 @@ server {
|
|||||||
<% else -%>
|
<% else -%>
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name <%= @server_name %>;
|
server_name <%= @server_name %>;
|
||||||
|
|
||||||
|
location /.well-known {
|
||||||
|
root "/var/www/<%= @server_name %>";
|
||||||
|
}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user