-
Notifications
You must be signed in to change notification settings - Fork 836
Make konga work with relative paths #21
Comments
Check out the dev branch. I forgot to implement the changes in dist logic. It should work now. |
Could you please set up building of branches on dockerhub? That way I can test it without building my self |
I'll do that some time later today |
When using the docker image locally I have problems using the plugins tab, dashboard and node info. Seem ot be getting 404 og 503s. Consumers and APIs work though. Any ideas? GET http://localhost:9999/kong/plugins 503 (Service Unavailable) started like so:
|
What version of Kong are you using? Is it 0.9.x? |
We are actually stuck on 0.8.x, that might be the problem. |
At what ip:port is Kong's admin api exposed? Are you using a container for Kong? In that case you will need to add a link --link kong:kong in your run command and the node you'll need to setup in Konga's settings will be http://kong:8001. |
I'm not running Kong locally, but using Konga locally. So i'm pointing to kong on an external address. |
The fact that some endpoints do work and some don't, makes me think that the issue is maybe related to Kong's version. I haven't tried Konga on versions older than 0.9.x. I will have to test it and get back to you. |
Things seem to work much better with 0.9.x, so don't worry about it. BUt it would be nice if you could get automated build of branches. |
We run konga on a cluster and at the moment rely on web paths to route traffic to the correct instance.
That means we call a URL like so:
http://cluster.example.com/konga-gui/
. The problem is that Konga assumes assets are found on the webroot and therefore the frontend is not loaded.In the logs and HTML this is reflected. Notice all the
/vendors.min.css
,/frontend.min.js
etc.This was mentioned as a part of #14, but not fully implemented it seems. What I would like is a environment variable
KONGA_FRONTEND_WEBROOT
(or something more fitting) that will be prepented to all the asset paths.HTML:
The text was updated successfully, but these errors were encountered: