-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable HTTP Authorization Header on the Nginx server? #61
Comments
I don't know Ngix too, but my host applied this configuration for me:
|
Where do I have to add this code? In which file? |
For future reference, this goes in nginx's server block inside
On Ubuntu default installations configuration files can be found under |
I am trying to configure JWT Authentication for WordPress REST API. But the problem is there is no direct config available for enabling the HTTP Authorization Header. Nginx doesn't have a .htaccess file, so I can't add the rewrite rules.
Here are the rules for apache based server:
I believe it's not going to work with Nginx. What is the solution available for the Nginx side?
The text was updated successfully, but these errors were encountered: