Skip to content

Commit

Permalink
change: Set policy.mode: database in Headscale configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Oct 13, 2024
1 parent cbcabbc commit b0fd9e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions headscale-fly-io/config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ log:
noise:
private_key_path: /var/lib/headscale/noise_private.key

policy:
mode: database

database:
type: sqlite
sqlite:
Expand All @@ -26,10 +29,6 @@ prefixes:
v4: ${HEADSCALE_PREFIXES_V4}
allocation: ${HEADSCALE_PREFIXES_ALLOCATION}

policy:
mode: file
path: "" # TODO: Support ACL policy files?

derp:
urls:
- https://controlplane.tailscale.com/derpmap/default
Expand Down

0 comments on commit b0fd9e3

Please sign in to comment.