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

This commit is contained in:
Miguel Angel Nubla 2024-06-16 11:53:02 +01:00 committed by GitHub
parent 02af1b0ac7
commit e208241eea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
proxy_set_header X-authentik-uid $http_x_authentik_uid;