From abcb26b28113a14dee93d9c0644f69f487750a45 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Fri, 6 Jan 2023 06:49:11 -0600 Subject: [PATCH] update some config file refs in secure.md --- guide/secure.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/secure.md b/guide/secure.md index 2ac531e..5fa8757 100644 --- a/guide/secure.md +++ b/guide/secure.md @@ -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.