You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "WwwJy (via GitHub)" <gi...@apache.org> on 2023/07/12 06:40:20 UTC

[GitHub] [apisix] WwwJy commented on issue #9821: jwt-auth: 404 not found in Stand-alone mode

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org