Make WordPress Core


Ignore:
Timestamp:
10/27/2020 06:32:22 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/local-env/default.template

    r46587 r49336  
    2828        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    2929        fastcgi_param PATH_INFO $fastcgi_path_info;
     30        fastcgi_pass_header Authorization;
    3031    }
    3132}
Note: See TracChangeset for help on using the changeset viewer.