apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: curio-ingress namespace: curio annotations: k8s.apisix.apache.org/enable-websocket: "true" k8s.apisix.apache.org/proxy-rewrite: '{"uri": "/$1", "regex_uri": ["^/api/whisper/(.*)", "/$1"]}' k8s.apisix.apache.org/upstream-read-timeout: "120s" k8s.apisix.apache.org/upstream-send-timeout: "120s" k8s.apisix.apache.org/client-max-body-size: "50m" spec: ingressClassName: apisix rules: - host: curio.applaude.net http: paths: - path: / pathType: Prefix backend: service: name: curio-app port: number: 80 - path: /api/whisper pathType: Prefix backend: service: name: whisper-api port: number: 80 - host: curaflow.applaude.net http: paths: - path: / pathType: Prefix backend: service: name: curio-app port: number: 80