• Resolved richpav

    (@richpav)


    I found your gist about getting password protection to work with fastCGI and Apache but I’m using Nginx.

    I found two equivalents for RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]

    I tried added either of these to fastcgi.conf or fastcgi_params, then restarting (of course) but they didn’t work.

    fastcgi_param REMOTE_USER $remote_user;
    fastcgi_param Authorization $http_authorization;

    Any other ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter richpav

    (@richpav)

    I found the solution but can’t delete my question. I added this to nginx config:

    fastcgi_param HTTP_AUTHORIZATION $http_authorization;
    proxy_set_header HTTP_AUTHORIZATION $http_authorization;
Viewing 1 replies (of 1 total)
  • The topic ‘How to get password-protected podcasts to work with Nginx?’ is closed to new replies.