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.
-
@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)
-
@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)
-
R robi referenced this topic on
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login