Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
560 stars 161 forks source link

Directive for NGINX #194

Closed fabdelgado closed 4 years ago

fabdelgado commented 4 years ago

Hi how to use this directive in NGINX? SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

pravinfullstack commented 4 years ago

Try adding

fastcgi_pass_header Authorization;
fabdelgado commented 4 years ago

Thanks!