我需要将以下.htaccessstring转换为nginxconfiguration:
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
谁能帮我?
我正在运行nginx + php_fpmconfiguration。
添加到您的PHP location块,或添加到您的全局fastcgi_params其中include :
location
fastcgi_params
include
fastcgi_param REMOTE_USER $remote_user;