Dear all,

I can't figure out how to set up Nginx for "rest.php" authentication to work. I'm using Nginx+PHPfpm and MySQL as backend (I want use "Internal authentication"). Web interface is working fine - I can log in without a problem.

But I can't use integration with Thunderbird, because "rest.php" file is always returning "401 Unauthorized" without asking for username and password (no login dialog appear). I can't find any help in manual.

My Nginx config part for "rest.php" file is:

location = /rest.php {
      fastcgi_pass_header Authorization;
      fastcgi_pass unix:/var/run/dl.smurv.cz-fpm.sock;
      fastcgi_index index.php;
      include fastcgi_params;
  }

It's same as for "admin.php" and it's working without problem.

Can you please help?

Best regards,

Jan


Reply via email to