mirror of
https://github.com/juanfont/headscale.git
synced 2025-05-21 17:43:51 -04:00
Document HEADSCALE_CONFIG
This commit is contained in:
parent
49b3468845
commit
c15aa541bb
@ -5,7 +5,9 @@
|
|||||||
- `/etc/headscale`
|
- `/etc/headscale`
|
||||||
- `$HOME/.headscale`
|
- `$HOME/.headscale`
|
||||||
- the current working directory
|
- 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`
|
- 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)"
|
!!! example "Get the [example configuration from the GitHub repository](https://github.com/juanfont/headscale/blob/main/config-example.yaml)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user