update some config file refs in secure.md

This commit is contained in:
Scott Lamb 2023-01-06 06:49:11 -06:00
parent e0940979e4
commit abcb26b281
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ your browser. See [How to secure Nginx with Let's Encrypt on Ubuntu
## 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:
```toml
@ -176,9 +176,9 @@ trustForwardHeaders = true
This change has two effects:
* No `allow_unauthenticated_permissions` means that web users must
* No `allowUnauthenticatedPermissions` means that web users must
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
in the next section.