From 23dd45f946ae648e4dcfb6a36ec206bbfd02601a Mon Sep 17 00:00:00 2001 From: Anton Fedurtsya Date: Fri, 10 Nov 2023 16:30:02 +0200 Subject: [PATCH] Fix authorization env pass to php-fpm Signed-off-by: Anton Fedurtsya --- .github/workflows/development.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index b2884a9..176363d 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -101,6 +101,9 @@ jobs: -e 's##/var/www/source/tmp/#g;'\ -e 's#iDebug = 0;#iDebug = -1;#g;'\ source/source/config.inc.php + perl -pi\ + -e 'print "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1\n\n" if $. == 1'\ + source/source/.htaccess - name: Checkout current module uses: actions/checkout@v4