mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-26 14:29:49 +00:00
Added a paragraph about Let's Encrypt
parent
a1eb9f8f1c
commit
f388da7ca9
1 changed files with 7 additions and 0 deletions
|
@ -60,3 +60,10 @@ server {
|
||||||
```
|
```
|
||||||
error_page 404 /pihole/index.php
|
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
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue