wp-api-jwt-auth
wp-api-jwt-auth copied to clipboard
It will NOT work at all with this common nginx conf
My site have permalink setting like: www.test.com/post-name/ and nginx very basic conf:
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
when I install this plugin, it does not work. the /wp-json/wp/v2/posts/XXX is still accessable.
I tried to google it for a long time but faild...
Any idea on this?
env: VPS with ubuntu 20 latest WP php 8.1 clean site, no other plugin...
Thanks.