Control Web Panel

WebPanel => Apache => Nginx => Topic started by: majorb on August 02, 2018, 08:14:44 PM

Title: Need help with - http auth
Post by: majorb on August 02, 2018, 08:14:44 PM
Here is solution for Nginx with PHP-FPM

Code: [Select]
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