nicojmb
New Pleskian
Hi,
I'm developing a PHP RestAPI server with JWT and Bearer Auth.
In my client side (postman) send the header authorization but in PHP the variable $_SERVER['HTTP_AUTHORIZATION'] is empty.
Here is my plesk configuration is (details in attaached images):
¿How get this headers with nginx in my php code?
I'm developing a PHP RestAPI server with JWT and Bearer Auth.
In my client side (postman) send the header authorization but in PHP the variable $_SERVER['HTTP_AUTHORIZATION'] is empty.
Here is my plesk configuration is (details in attaached images):
- Hosting Settings: PHP 7.4.11 - FPM served by nginx
¿How get this headers with nginx in my php code?