WwwJy commented on issue #9821:
URL: https://github.com/apache/apisix/issues/9821#issuecomment-1631936547
There was an error in my configuration. The plugin-api should be configured
on the **route.** After I updated it, it should be like this
```
consumers:
- plugins:
jwt-auth:
key: user-key
secret: my-secret-key
username: jack
routes:
plugins:
public-api: {}
uri: /apisix/plugin/jwt/sign
```
Now I have a new error
```log
[error]: failed to set upstream: missing upstream configuration in Route or
Service
````
I don't understand why we need to configure upstream?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]