app-proxy doesn't do paths?
-
@nebulon Yes, considering how proxies work, even reverse proxies have the ability to take an input http request and transform it into an output request of any destination.
Hence if I want a subdomain entry point to go to a API path, that makes things easier. Besides, we do the reverse of this all the time in presenting web apps via simpler URLs from more complex paths from backend services.
It seems like really basic functionality that's missing if only (sub).domain.com to (sub).domain.com mappings are supported. Paths are a critical part of the web.
-
@robi it seems to me that this might as well be handled in the upstream server then for the moment. Of course we can add further URL rewrite capabilities in the future, but I guess we wait a bit to collect further requirements in that area first.
-
@nebulon if that's the view, then there is no need for the app-proxy rewrite, no?
Yet there is.
All these scenarios and their reverse variants are useful, including any parameteres at the end:
- tld --> tld
- sub --> tld
- path --> tld
- path --> sub
- path --> path
- any --> :port(/path)
-
-
-