Commit 79fb0563 authored by Olivier Berger's avatar Olivier Berger

Fix the forced redirection to /

This makes the API work at last :-)
parent 0060c108
......@@ -170,7 +170,7 @@ spec:
type: ClusterIP
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
annotations:
......@@ -178,15 +178,14 @@ metadata:
ingress.kubernetes.io/ssl-services: "acore"
ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/force-ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: "/"
nginx.ingress.kubernetes.io/rewrite-target: "/"
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
name: acore-ingress
namespace: default
spec:
rules:
- http:
paths:
- path: "/acore"
- path: "/acore(/|$)(.*)"
backend:
serviceName: acore
servicePort: 8086
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment