I wonder if there’s a way to use folders for Reverse Proxy without having the folder within the backend request. Example:
Request: https://exampledomain.com/folder1/test
Backend: http://localhost:8081/test
Request: https://exampledomain.com/folder2/test
Backend: http://localhost:8082/test
I’ve tried this:
exampledomain.com {
reverse_proxy /folder1/* http://localhost:8081
reverse_proxy /folder2/* http://localhost:8082
}
But it seems like (gotta say it seems as I don’t see the requests on the backend) that the requests go to /folder1 or /folder2 in the backend too. So for example http://localhost:8081/folder1/test
instead of http://localhost:8081/test
Any help on this?
Disclaimer: I’m a total Caddy n00b so please pardon if that’s a dumb question.
Thanks a lot for a great product though