Custom Route from kong to upstream

My kong is in this location:

and my backend: (private)

I want to process login (get JWT Token) by accessing by forward request to

is it possible to make that happen ?

One way of achieving this would be to setup a service:

host =
path = "/authenticate"

and attaching a route to that configured as follows:

path = "/auth"
strip_path = "true"

Requests that come through to* would be forwarded to*. You could limit to only /auth/login in the same manner if you only want that particular endpoint handled.

Still doesn’t work. the kong showing forward to wrong url