Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rexbron authored Apr 5, 2020
1 parent 7c29bae commit 31446fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion general/networking/letsencrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Once the packages are installed, you're ready to generate a new certificate.
### Apache

#### Certbot Apache Plugin

After installing Certbot and the Apache plugin, certificate generation is accomplished by with the following command.

```sh
Expand All @@ -29,16 +30,19 @@ echo "0 0 * * * root certbot renew --quiet --no-self-upgrade --post-hook 'syst
```

#### Certbot Webroot

##### Debian

If the certbot apache plugin doesn't work with your config, use webroot instead.

Add the following to your <VirtualHost> section after configuring it a reverse proxy:

```conf
DocumentRoot /var/www/html/
#Do not pass the .well-known directory when using certbot and webroot
ProxyPass /.well-known !
```

Run the certbot command as root:

```sh
Expand Down

0 comments on commit 31446fb

Please sign in to comment.