diff --git a/docs/ref/configuration.md b/docs/ref/configuration.md index e11710db..18c8502f 100644 --- a/docs/ref/configuration.md +++ b/docs/ref/configuration.md @@ -5,7 +5,9 @@ - `/etc/headscale` - `$HOME/.headscale` - the current working directory -- Use the command line flag `-c`, `--config` to load the configuration from a different path +- To load the configuration from a different path, use: + - the command line flag `-c`, `--config` + - the environment variable `HEADSCALE_CONFIG` - Validate the configuration file with: `headscale configtest` !!! example "Get the [example configuration from the GitHub repository](https://github.com/juanfont/headscale/blob/main/config-example.yaml)"