Author Topic: Need help with - http auth  (Read 6931 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Need help with - http auth
« 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