Relationship between ServerApp and ProxyHttp #459
Unanswered
JosiahParry
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It has been a few months since I've modified my pingora proxy service. Coming back to the docs I notice that there is now a ServerApp concept that may be quite useful for my situation. But the documentation doesn't describe how it is intended to be used and the example that uses the trait is uncommented.
I have a struct that implements
ProxyHttp
. When I hit a specific path e.g./ui
I want to proxy to a different application. I think theServerApp
simplifies this proxying?Other applications can be found at
/myapp
for example which uses websockets and the like and implementing the proxy to that proves quite difficult.Can
ServerApp
be used to serve applications in a struct that implementsProxyTrait
?Beta Was this translation helpful? Give feedback.
All reactions