Tag: How to enable WSGIPassAuthorization in NGINX + DJango

How to enable WSGIPassAuthorization in NGINX + DJango

How to enable WSGIPassAuthorization in NGINX + DJango

Just in case we need to enable “WSGIPassAuthorization” in NGINX, we can put this in nginx hosts 12345proxy_pass_request_headers on; proxy_no_cache $cookie_nocache  $arg_nocache$arg_comment; proxy_no_cache $http_pragma     $http_authorization; proxy_cache_bypass $cookie_nocache $arg_nocache $arg_comment; proxy_cache_bypass $http_pragma $http_authorization;