We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can register proxy by host name
No response
server.register(proxy, { upstream: 'http://single-signon.example.com', host: 'xxx.sample.com', // optional http2: false // optional })
The text was updated successfully, but these errors were encountered:
This would be a good feature to add!
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Check out https://www.fastify.io/docs/latest/Routes/#constraints, it's likely just about passing this to the routes.
Sorry, something went wrong.
I think it is already implemented in #182
fastify-http-proxy/index.js
Line 174 in 04e49eb
The follow-up update should be documentation only
I think it is already implemented in #182 fastify-http-proxy/index.js Line 174 in 04e49eb constraints: opts.constraints || {}, The follow-up update should be documentation only
This works, but not for websockets. Websocket support currently ignores the host constraint.
host
Successfully merging a pull request may close this issue.
Prerequisites
🚀 Feature Proposal
can register proxy by host name
Motivation
No response
Example
The text was updated successfully, but these errors were encountered: