--[[ * Pi-hole: A black hole for Internet advertisements * (c) 2023 Pi-hole, LLC (https://pi-hole.net) * Network-wide ad blocking via your own hardware. * * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. --]] mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') -- Page title and level selector PageTitle = "Web Interface - API Settings" mg.include('scripts/pi-hole/lua/settings_header.lp','r') ?>
The boxed layout is helpful when working on large screens because it prevents the site from stretching very wide.
This will require local clients to authenticate to access the API. This is useful if you want to prevent local users from accessing the API without knowing the password.
This will make the API output more human-readable, but will increase the size of the output and make the API a bit slower.
This will allow clients to perform destructive actions via the API, such as rebooting or shutting down the system Pi-hole is running on.
Domains to be excluded from Top Domain Lists and Query Log
Domains may be described by their domain name (like ^example\.com$)
Clients to be excluded from Top Client Lists and Query Log
Clients may be described either by their IP addresses (IPv4 and IPv6 are supported), or hostnames (like ^laptop\.lan$).
Important:
Those input fields accept regex entries only.
Please refer to our guide how to construct valid regex entries.
| ID | Valid | TLS | Login at | Valid until | Client IP | User Agent |
|---|