Need help with - http auth

Started by majorb, August 02, 2018, 08:14:44 PM

Previous topic - Next topic

majorb

Here is solution for Nginx with PHP-FPM

location /subfilder/ {
       index index.php;
       auth_basic "Unauthorized";
       auth_basic_user_file /home/user/.dashauth;
}


But it doesn't work right with Apache + Nginx Reverse Proxy :( login works, but it offers to download php file...

I'm missing something