Verified Commit 5dda4ea0 authored by Elias Ojala's avatar Elias Ojala
Browse files

Certbot update

parent 9e93d115
......@@ -10,4 +10,12 @@ server {
location / {
return 301 https://$host$request_uri;
}
location /.well-known/acme-challenge {
root /var/www/_certbot/;
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}
\ No newline at end of file
......@@ -33,7 +33,7 @@ sudo certbot --server https://acme-v02.api.letsencrypt.org/directory \
## Webroot
```bash
sudo certbot certonly --webroot -w /var/www/_certbot/example.com -d example.com
sudo certbot certonly --webroot -w /var/www/_certbot -d example.com
```
## HTTP (used by [Haproxy examples](haproxy.md))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment