konga behind kong
pferreyra84 opened this issue · comments
Hi!
I'm trying to have Konga behind Kong but the unique way that is working is creating an ingress like:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-konga
namespace: konga
spec:
ingressClassName: kong
rules:
- http:
paths:- path: /
pathType: Prefix
backend:
service:
name: konga
port:
number: 80
- path: /
If I change path "/" by whatever, it's not working.
Someone have same issue?
Thanks in advance!
Hi again, the unique different path supported is /register, like:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-konga
namespace: konga
spec:
ingressClassName: kong
rules:
- http:
paths:- path: /register
pathType: Prefix
backend:
service:
name: konga
port:
number: 80
but I would like use "/konga" for example, and it is not working.
- path: /register
i got mine working
set env variable
BASE_URL: /konga/
and my ingress
`apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
konghq.com/strip-path: "true"
name: konga
namespace: konga
spec:
ingressClassName: kong
rules:
- http:
paths:- backend:
service:
name: konga
port:
number: 80
path: /konga
pathType: Prefix`
- backend:
you need the annotations: konghq.com/strip-path: "true" and set the variable BASE_URL: /konga/