mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-15 07:26:03 +00:00
Merge branch 'master' into fix/github-stars-forks
This commit is contained in:
@@ -2,14 +2,17 @@ body,
|
||||
input {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.md-nav {
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.md-typeset {
|
||||
font-size: 14px;
|
||||
font-size: .7rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.md-typeset code,
|
||||
.md-typeset pre {
|
||||
white-space: pre-wrap;
|
||||
|
||||
@@ -54,7 +54,8 @@
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
fastcgi_param FQDN true;
|
||||
auth_basic "Restricted"; # For Basic Auth
|
||||
|
||||
@@ -40,7 +40,7 @@ password=mypassword
|
||||
myhost.dyndns.org
|
||||
```
|
||||
|
||||
If you want to have `ddclient` running as daemon (recommended!), change also your `/etc/defaults/ddclient` to:
|
||||
If you want to have `ddclient` running as daemon (recommended!), change also your `/etc/default/ddclient` to:
|
||||
|
||||
```bash
|
||||
# Configuration for ddclient scripts
|
||||
|
||||
@@ -8,7 +8,7 @@ curl -sSL https://install.pi-hole.net | bash
|
||||
|
||||
<!-- markdownlint-disable code-block-style -->
|
||||
!!! info
|
||||
[Piping to `bash` is a controversial topic](https://pi-hole.net/2016/07/25/curling-and-piping-to-bash), as it prevents you from [reading code that is about to run](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) on your system.
|
||||
[Piping to `bash` is a controversial topic](https://pi-hole.net/2016/07/25/curling-and-piping-to-bash/), as it prevents you from [reading code that is about to run](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) on your system.
|
||||
|
||||
If you would prefer to review the code before installation, we provide these alternative installation methods.
|
||||
<!-- markdownlint-enable code-block-style -->
|
||||
|
||||
@@ -7,6 +7,8 @@ remote_branch: gh-pages
|
||||
theme:
|
||||
name: 'material'
|
||||
favicon: 'images/favicon.ico'
|
||||
primary: 'deep purple'
|
||||
accent: 'teal'
|
||||
logo: 'images/logo.svg'
|
||||
language: 'en'
|
||||
font:
|
||||
|
||||
Reference in New Issue
Block a user