From e208241eea9efd359cb3f7f579cf8b1e4a755585 Mon Sep 17 00:00:00 2001 From: Miguel Angel Nubla Date: Sun, 16 Jun 2024 11:53:02 +0100 Subject: [PATCH] Fix X-Proxy-Secret header passthrough (#11984) --- .../rootfs/usr/local/nginx/conf/proxy_trusted_headers.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 28b885154..54c05ab3b 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;