move perms to proper spot in config

This commit is contained in:
Scott Lamb 2022-03-16 18:13:17 -07:00
parent e9ac61f15c
commit 319d7c3e1d
2 changed files with 2 additions and 2 deletions

View File

@ -71,10 +71,10 @@ $ sudo chmod a+rx /usr/local/bin/nvr
```toml
[[binds]]
ipv4 = "0.0.0.0:8080"
allow_unauthenticated_permissions = { view_video = true }
[[binds]]
unix = "/var/lib/moonfire-nvr/sock"
allow_unauthenticated_permissions = { view_video = true }
own_uid_is_privileged = true
```

View File

@ -178,7 +178,7 @@ This change has two effects:
* No `allow_unauthenticated_permissions` means that web users must
authenticate.
* `trust-forward-headers` means that Moonfire NVR will look for `X-Real-IP`
* `trust_forward_headers` means that Moonfire NVR will look for `X-Real-IP`
and `X-Forwarded-Proto` headers as added by the webserver configuration
in the next section.