diff --git a/Configuration.md b/Configuration.md index 69b0c76..09516d5 100644 --- a/Configuration.md +++ b/Configuration.md @@ -312,19 +312,26 @@ Upon the first execution, a file named `AdGuardHome.yaml` will be created, with Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possible parameters that you can configure are listed below: -- `bind_host` — Web interface IP address to listen on. -- `bind_port` — Web interface IP port to listen on. -- `users` — Web users info - - `name` — User name - - `password` — BCrypt-encrypted password -- `auth_attempts` (**after v0.106.0**) – Maximum number of failed login attempts +- `bind_host` (**before v0.107.33**): Web interface IP address to listen on. +- `bind_port` (**before v0.107.33**): Web interface IP port to listen on. +- `http` (**since v0.107.33**): Web interface configuration. + - `address`: Web interface IP address with port to listen on. + - `session_ttl`: Web session TTL is a time duration in a human-readable + format. The web user will stay signed in for this amount of time. +- `users`: Web users info. + - `name`: User name. + - `password`: BCrypt-encrypted password. +- `auth_attempts` (**after v0.106.0**): Maximum number of failed login attempts a user can do before being blocked. The entire blocking logic is disabled if it equals to 0. -- `block_auth_min` (**after v0.106.0**) – The duration of blocking period. The +- `block_auth_min` (**after v0.106.0**): The duration of blocking period. The entire blocking logic is disabled if it equals to 0. -- `http_proxy` — Proxy URL for HTTP client (e.g. "http://user:password@server:port/"). Supports "http", "https" and "socks5" scheme. -- `web_session_ttl` — Web session TTL (in hours) - a web user will stay signed in for this amount of time. -- `debug_pprof` — Enable pprof HTTP server listening on port 6060 for debugging. See section `Profiling with pprof`. +- `http_proxy`: Proxy URL for HTTP client, e.g. `http://user:password@server:port/`. + Supports `http`, `https` and `socks5` schemes. +- `web_session_ttl` (**before v0.107.33**): Web session TTL (in hours), a web + user will stay signed in for this amount of time. +- `debug_pprof`: Enable pprof HTTP server listening on port 6060 for debugging. + See section `Profiling with pprof`. - `dns` — DNS configuration section. - **General settings** diff --git a/FAQ.md b/FAQ.md index b12bbb0..d12baea 100644 --- a/FAQ.md +++ b/FAQ.md @@ -223,13 +223,13 @@ edit the configuration file manually: 1. Open `AdGuardHome.yaml` in your editor. -1. Set the `bind_host` setting to a new network interface. For example: +1. Set the `http.address` setting to a new network interface. For example: - * `0.0.0.0` to listen on all network interfaces. + * `0.0.0.0:0` to listen on all network interfaces. + + * `0.0.0.0:8080` to listen on all network interfaces with port `8080`. - * `127.0.0.1` to listen on the local loopback interface only. - -1. Optionally, set the `bind_port` setting to set a new port. + * `127.0.0.1:0` to listen on the local loopback interface only. 1. Restart AdGuard Home: