mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-05-05 09:16:34 -04:00
update some config file refs in secure.md
This commit is contained in:
parent
e0940979e4
commit
abcb26b281
@ -161,7 +161,7 @@ your browser. See [How to secure Nginx with Let's Encrypt on Ubuntu
|
|||||||
|
|
||||||
## 6. Reconfigure Moonfire NVR
|
## 6. Reconfigure Moonfire NVR
|
||||||
|
|
||||||
If you follow the recommended Docker setup, your `/etc/moonfire-nvr.json`
|
If you follow the recommended Docker setup, your `/etc/moonfire-nvr.toml`
|
||||||
will contain this line:
|
will contain this line:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
@ -176,9 +176,9 @@ trustForwardHeaders = true
|
|||||||
|
|
||||||
This change has two effects:
|
This change has two effects:
|
||||||
|
|
||||||
* No `allow_unauthenticated_permissions` means that web users must
|
* No `allowUnauthenticatedPermissions` means that web users must
|
||||||
authenticate.
|
authenticate.
|
||||||
* `trust_forward_headers` means that Moonfire NVR will look for `X-Real-IP`
|
* `trustForwardHeaders` means that Moonfire NVR will look for `X-Real-IP`
|
||||||
and `X-Forwarded-Proto` headers as added by the webserver configuration
|
and `X-Forwarded-Proto` headers as added by the webserver configuration
|
||||||
in the next section.
|
in the next section.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user