-
Notifications
You must be signed in to change notification settings - Fork 15
feat: allow binding of arbitrary addresses #118
New issue
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
base: main
Are you sure you want to change the base?
Conversation
This generally helps when the user wants to listen to [::1] or 127.0.0.0/8 Signed-off-by: Matthieu Pignolet <[email protected]>
…anges Signed-off-by: Matthieu Pignolet <[email protected]>
|
Oh yes please, this would be really useful to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good, but would be good to keep backwards compat.
…lly exclusive with the `LIVEKIT_JWT_BIND` environment variable) Signed-off-by: Matthieu Pignolet <[email protected]>
|
Thx a lot for this contribution. @MatthieuCoder sorry for the delay -- team is currently sprinting for MatrixConference :-)
Yup a big fat warning sounds right. Besides that, it would be nice to also have a test around. kind regards |
…er as they are mutually exclusive
This should now be implemented. Although a new variable eg. With a default value of Regarding the tests, as this kind of "configuration" isn't tested currently, I did not implement it. I already have a kind-of-working code but I would like some guidance regarding this contribution |
On On the testing you are right -- this would probably need a small refactoring to split out the config parsing. So for now, leave that with us. |
Hello !
This pr adds support for specifying the
addrargument inListenAndServe, allowing the user to make the jwt service listen on a loopback address which is useful when using a reverse proxy / load balancer.Some changes related to the lsp-auto-fmt behavior