Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

konga behind kong #779

Open
pferreyra84 opened this issue Jul 13, 2022 · 2 comments
Open

konga behind kong #779

pferreyra84 opened this issue Jul 13, 2022 · 2 comments

Comments

@pferreyra84
Copy link

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

If I change path "/" by whatever, it's not working.

Someone have same issue?

Thanks in advance!

@pferreyra84
Copy link
Author

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.

@RicardoAlvialANS
Copy link

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`

you need the annotations: konghq.com/strip-path: "true" and set the variable BASE_URL: /konga/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants