I have a web api application built with yarp support listening on port 443.
I know it is up and running because postman says so when https://myserver/info
. 'Info' is a simple http GET returning some strings from a simple controller.
I also have a web api project listening on port 5002 which I know is functioning because postman says so when https://myserver:5002/myotherapp/info
.
I would like postman to tell me that https://myserver/myotherapp/info
is also valid, but have not been able to configure it so.
I have tried numerous different combinations in the appsettings.json to achieve this but to no avail. All I am trying to do is direct to localhost:5002
on the server. In my current setup I am seeing 503 Service Unavailable
in postman.
It may not be a configuration issue but could someone assist me by confirming what the ReverseProxy
element of appsettings.json
should look like in this simplest of cases?