From 18f172556d0ff4a2fa51f9fe5d426ee771da6a88 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 27 Oct 2020 18:32:22 +0000 Subject: [PATCH] Build/Test Tools: Add `Authorization` headers support to `local-env`. This ensures that basic authorization is passed from nginx to PHP. Props Clorith. Fixes #51646. git-svn-id: https://develop.svn.wordpress.org/trunk@49336 602fd350-edb4-49c9-b593-d223f7449a82 --- tools/local-env/default.template | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/local-env/default.template b/tools/local-env/default.template index 21bfac0e1f..a5638656a4 100644 --- a/tools/local-env/default.template +++ b/tools/local-env/default.template @@ -27,5 +27,6 @@ server { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; + fastcgi_pass_header Authorization; } }