Added a paragraph about Let's Encrypt

Eugene Zolenko 2018-10-04 11:41:55 -06:00
parent a1eb9f8f1c
commit f388da7ca9

@ -60,3 +60,10 @@ server {
```
error_page 404 /pihole/index.php
```
. When using nginx to front pihole, Let's Encrypt can be used to directly configure nginx. Make sure to use your hostname instead of _ in `server_name _;` line above.
```
add-apt-repository ppa:certbot/certbot
apt-get install certbot python-certbot-nginx
certbot --nginx -m "$email" -d "$domain" -n --agree-tos --no-eff-email
```