fix ingress
This commit is contained in:
@@ -8,6 +8,7 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
|
||||
@@ -34,8 +35,8 @@ spec:
|
||||
# ┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
# │ 2) GoTrue (auth) – exposed under /gotrue │
|
||||
# └──────────────────────────────────────────────────────────────────────────────┘
|
||||
- path: /gotrue(/|$)(.*)
|
||||
pathType: ImplementationSpecific
|
||||
- path: /gotrue
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gotrue
|
||||
@@ -50,8 +51,8 @@ spec:
|
||||
# └──────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
# a) Direct all `/api/*` calls to the backend service
|
||||
- path: /api(/|$)(.*)
|
||||
pathType: ImplementationSpecific
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: appflowy-cloud
|
||||
|
||||
Reference in New Issue
Block a user