Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Joseph

Pages: [1]
1
Hello guys,

After investigations, I was able to identify the problem.

As you are using FPM together with PHP, it is necessary to make some code changes:

- In the PHP project you must add the line in .htaccess:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

- And to retrieve the Authorization header, you must call the variable:
$_SERVER['REDIRECT_HTTP_AUTHORIZATION']

I share the solution for everyone's knowledge.

Best regards

2
Hi people,

I'm using the following settings:

- Apache + NGINX
- PHP + PHP-FPM

The problem I'm facing is that NGIX when proxying to Apache is not passing the Authorization header.

Has anyone faced this problem?

Best regards

Pages: [1]