I have create middleware like this:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: reddwarf-jwt-auth
namespace: reddwarf-pro
spec:
plugin:
forwardAuth:
address: >-
#
http://dolphin-post-service.reddwarf-pro.svc.cluster.local:11014/post/auth/access_token/verify
https://api.poemhub.top/post/auth/access_token/verify
whitelist:
- /public/*
when use the middleware in traefik 2.4.6 like this:
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`tex.poemhub.top`) && PathPrefix(`/tex`)
priority: 1
middlewares:
- name: reddwarf-jwt-auth
services:
- name: tex-service
port: 8000
when access the url, told that 404 page not found. I am sure the authorize url is accessable. Am I missing something?