pantsel / konga

More than just another GUI to Kong Admin API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

konga kerio ords , rewrite urls

mahbodam opened this issue · comments

hi , i tried to much to use nginx to fix this problem but aint got no success
here is my situation and im really need help, please
internet clients >>> local network ( kerio >>> kong >>> oracle apex ords ) >>> then should response to internet clients
what i need :

  1. domain.com:80 >>> kerio
  2. kerio detects the domain and through reverse proxy send request to kong(192.168.1.1:8000)
  3. in kong there is service called domain1 which defined like 192.168.1.2 + /ords/ (as a path)
  4. in kong there is a route like domain.com + / (as a path)
    when u run oracle apex + ords for example on windows server , you may have an app with this url : localhost(192.168.1.5)/ords/f?p=106
    every thing is ok and i can see the apex ords response like below
    domain.com/ords/
    but the problem is that seems like client browser sends domain to ords and kong doesnt let me to define /ords/f?p=106 in path
    so apex tells that cant find the application
    i need kong to replace url from ords like 192.168.1.5/ords/f?p=106 to domain.com/ords/f?p=106
    and keep doing it all the time in all request from/to internet
    what should i do?