Authorization Header

Hi all,

Looking for any tips on how to allow nginx with easyengine to pass an authorization header for a website. Having issues implementing this.

Normally with Apache and fcgi you can use:

FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization

or with .htaccess via:

RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Solved my own issue I think. In the nginx block:

fastcgi_param HTTP_AUTHORIZATION $http_authorization;