From e92f2909442e77d645d2a4b6941c0ab4cbc3ec7f Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Sun, 29 Mar 2020 14:49:16 +0200 Subject: [PATCH] Fix authorization header not passed to proxy (fix #9) --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3770705..486711d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,6 +22,8 @@ location __PATH__/ { proxy_buffering off; fastcgi_param REMOTE_USER $remote_user; client_max_body_size 50M; + more_set_input_headers 'Authorization: $http_authorization'; + proxy_set_header Authorization $http_authorization; # Force https if ($scheme = http) {