Layer7 API Management

  • 1.  Reverse proxy a web site with the gateway

    Posted Feb 02, 2018 08:13 AM

    Hello everyone,

     

    I would like to expose a website through the gateway. So I create a wildcard service with “published reverse web proxy”, for example “/my/app*”.

     

    My problem is when I used the URI “/my/app/” it works perfectly but when I used URI without “/” (so “/my/app”) the first call is correct but my web browser used “/my” to get resources and not “/my/app.

     

    Do you know why with “/” it works but don’t works without?

     

    Regards,

     

    Julien.



  • 2.  Re: Reverse proxy a web site with the gateway
    Best Answer

    Posted Feb 02, 2018 11:25 AM

    Hi, I'm working with Julien.

    A little bit context:

    - Before routing, we strip /my/app from the url path.

    Policy code: