Use certbot to issue certificates

This commit is contained in:
Jake Howard
2023-12-21 16:35:20 +00:00
parent 8e1a203df2
commit 39899cd1e0
10 changed files with 80 additions and 43 deletions

View File

@ -2,5 +2,13 @@ server {
listen 80;
server_name _;
access_log off;
return 308 https://$host$request_uri;
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root {{ certbot_webroot }};
}
location / {
return 308 https://$host$request_uri;
}
}