dev.aggtaa.com/api/admin path auth, prefix stip
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Shared by dev-admin and dev-public: /api/a -> /a, /api/admin/b -> /admin/b,
|
||||
# /m/main.css -> /main.css. Only the first matching prefix is stripped, and
|
||||
# none of these routes can match both.
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: strip-prefix
|
||||
namespace: dev
|
||||
spec:
|
||||
stripPrefix:
|
||||
prefixes:
|
||||
- /api
|
||||
- /m
|
||||
Reference in New Issue
Block a user