Skip to content
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

Allow bindaddress to be a unix socket #2771

Open
2xsaiko opened this issue May 15, 2024 · 1 comment
Open

Allow bindaddress to be a unix socket #2771

2xsaiko opened this issue May 15, 2024 · 1 comment
Labels
enhancement New feature or request kanidmd Server-side things

Comments

@2xsaiko
Copy link

2xsaiko commented May 15, 2024

Is your feature request related to a problem? Please describe.

It would be great if bindaddress in the server config could be a unix socket path in addition to an inet socket. Right now it gives this error message:

[error]: Failed to parse address ("unix:/var/run/kanidmd/web.sock") from config: AddrParseError(Socket)

I've also tried without the unix:, no idea if this is already possible and I just don't know the syntax.

Describe the solution you'd like

Allow setting e.g. bindaddress="unix:/var/run/kanidmd/web.sock"

Describe alternatives you've considered

\

Additional context

I would like this mainly so I don't have to assign a unique port on localhost for an upstream for a reverse proxy.

@yaleman yaleman added enhancement New feature or request kanidmd Server-side things labels May 15, 2024
@yaleman
Copy link
Member

yaleman commented May 15, 2024

There's a lot more to it than just "put path in and bind" but yep, this is a feature we'll implement at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kanidmd Server-side things
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants