I'm trying to set up a reverse proxy in OpenLiteSpeed on a Hostinger VPS. My goal is to route different paths to different applications on the same domain. Specifically, I want requests to http://nosbor.eng.br/api/ to be directed to my API, and those to http://nosbor.eng.br/front/ to be directed to the frontend.
enter image description here enter image description here
enter image description here enter image description here
Currently, I am encountering an issue: when I configure /api in the proxy context, I receive the error message Cannot GET /api/. Additionally, it appears that the configuration is ignoring any additional parameters in the URL after the slash (/).
How can I correctly configure OpenLiteSpeed to support multiple applications on subpaths like /api/ and /front/ under the same domain?
I've tried to set it up in various ways, but nothing works