From 4a716a8fd2ab4337324243beb5a1b7790a580785 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 17 Aug 2023 22:30:52 +0200 Subject: [PATCH] change zammad sso header --- utils/modules/zammad/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/modules/zammad/default.nix b/utils/modules/zammad/default.nix index e42c3d5..3113003 100644 --- a/utils/modules/zammad/default.nix +++ b/utils/modules/zammad/default.nix @@ -84,10 +84,10 @@ auth_request_set $groups $upstream_http_remote_groups; auth_request_set $name $upstream_http_remote_name; auth_request_set $email $upstream_http_remote_email; - proxy_set_header Remote-User $user; - proxy_set_header Remote-Groups $groups; - proxy_set_header Remote-Name $name; - proxy_set_header Remote-Email $email; + proxy_set_header X-Forwarded-User $user; + proxy_set_header X-Forwarded-Groups $groups; + proxy_set_header X-Forwarded-Name $name; + proxy_set_header X-Forwarded-Email $email; # If Authelia returns 401, then nginx redirects the user to the login portal. # If it returns 200, then the request pass through to the backend. # For other type of errors, nginx will handle them as usual.