lego icon indicating copy to clipboard operation
lego copied to clipboard

HTTP Challenge Provider Listen on unix socket

Open trey-jones opened this issue 3 years ago • 3 comments

Welcome

  • [X] Yes, I've searched similar issues on GitHub and didn't find any.

How do you use lego?

Library

Detailed Description

I have a need for this, and I'm going to go ahead and start working on it.
I'll definitely make a PR unless you think it doesn't belong, but I think it's pretty quick and straightforward, minus any qualms about people attempting to use unix sockets on Windows, etc.

trey-jones avatar Aug 25 '21 21:08 trey-jones

Obviously I'm interested if you have any input on how it should be done. It's just a rather immediate need, so I'm pressing on with it.

My current plan is to allow the listener to be set directly via SetListener and skip the auto listener init if it already exists.

trey-jones avatar Aug 25 '21 21:08 trey-jones

Hello, could you explain why do you need this? What is your use case?

ldez avatar Aug 26 '21 03:08 ldez

Sure - I just find it much simpler to manage UDS via naming conventions on a server that responds to many, many domain names. Rather than manage arbitrary port numbers I will just proxy each "site" to a corresponding UDS.

PR is here: #1472

trey-jones avatar Aug 26 '21 11:08 trey-jones