Skip to content

NVR with realtime local object detection for IP cameras

Fix X-Proxy-Secret header passthrough (#11984)

Miguel Angel Nublae208241eea9e
diff --git a/docker/main/rootfs/usr/local/nginx/conf/proxy_trusted_headers.conf b/docker/main/rootfs/usr/local/nginx/conf/proxy_trusted_headers.conf
index 28b885154a..54c05ab3b2 100644
--- a/docker/main/rootfs/usr/local/nginx/conf/proxy_trusted_headers.conf
+++ b/docker/main/rootfs/usr/local/nginx/conf/proxy_trusted_headers.conf
@@ -1,3 +1,6 @@
+# Header used to validate reverse proxy trust
+proxy_set_header X-Proxy-Secret $http_x_proxy_secret;
+
# these headers will be copied to the /auth request and are available
# to be mapped in the config to Frigate's remote-user header
@@ -19,4 +22,4 @@ proxy_set_header X-authentik-username $http_x_authentik_username;
proxy_set_header X-authentik-groups $http_x_authentik_groups;
proxy_set_header X-authentik-email $http_x_authentik_email;
proxy_set_header X-authentik-name $http_x_authentik_name;
-proxy_set_header X-authentik-uid $http_x_authentik_uid;
\ No newline at end of file
+proxy_set_header X-authentik-uid $http_x_authentik_uid;