Use certbot to issue certificates
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user