make acl_policy_path fatal if policy.path is not set (#2041)
This commit is contained in:
parent
f99497340b
commit
84cb5d0aed
6 changed files with 42 additions and 5 deletions
18
hscontrol/types/testdata/policy-path-is-loaded.yaml
vendored
Normal file
18
hscontrol/types/testdata/policy-path-is-loaded.yaml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
noise:
|
||||
private_key_path: "private_key.pem"
|
||||
|
||||
prefixes:
|
||||
v6: fd7a:115c:a1e0::/48
|
||||
v4: 100.64.0.0/10
|
||||
|
||||
database:
|
||||
type: sqlite3
|
||||
|
||||
server_url: "https://derp.no"
|
||||
|
||||
acl_policy_path: "/etc/acl_policy.yaml"
|
||||
policy:
|
||||
type: file
|
||||
path: "/etc/policy.hujson"
|
||||
|
||||
dns.magic_dns: false
|
Loading…
Add table
Add a link
Reference in a new issue