mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-24 13:13:16 -05:00
move perms to proper spot in config
This commit is contained in:
parent
e9ac61f15c
commit
319d7c3e1d
@ -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
|
||||
```
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user