I have a Magento module that asks for $_SERVER['PHP_AUTH_USER']
and $_SERVER['PHP_AUTH_PW']
variables.
In its documentation, the following setup for apache
is proposed:
SetEnvIfNoCase Authorization "Basic ([a-z0-9=]+)" REMOTE_AUTHORIZATION=$
But I'm using nginx
. What can I add in my .conf
file to support these variables?