Missing headers with NGINX
-
Hello,
We are using the plugin on the website in combination with plain NGINX serving PHP.
All works fine but I keep getting 2 messages in the debug.log. I saw the docs on what I need to change in the .htaccess but since it’s plain Nginx there is no posibillity to use .htaccess.
Any tips on what I need to change in my nginx config file?[08-Feb-2023 10:08:31 UTC] PHP Warning: Undefined array key "HTTP_AUTHORIZATION" in /home/USER/web/DOMAIN.DOMAIN/public_html/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php on line 222 [08-Feb-2023 10:08:31 UTC] PHP Warning: Undefined array key "REDIRECT_HTTP_AUTHORIZATION" in /home/USER/web/DOMAIN.DOMAIN/public_html/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php on line 225
Thank you in advance!
- The topic ‘Missing headers with NGINX’ is closed to new replies.