Using localhost with Unicorn? #16
Replies: 2 comments 1 reply
-
The localhost has an incredibly simple interface, as long as you can provide a TLS context to the server, it should be possible to configure it. # The (self-signed) authority to use:
hostname = "localhost"
authority = Localhost::Authority.fetch(hostname)
authority.server_context # OpenSSL::SSL::SSLContext You just need to feed that into Unicorn's bind configuration. Is that possible? I checked the source code but I don't think Unicorn supports TLS. |
Beta Was this translation helpful? Give feedback.
-
I think you're right, sadly. It's been years since I've had to use Unicorn but I recall it being very optimized to run behind a proxy - typically I wonder if I could at least use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Hello friends!
Has anyone succeeded, or even looked into, getting
localhost
working with Unicorn? If not, does anyone have pointers for getting started with such a effort?It turns out googling "Unicorn localhost tls" (or "ssl") return a lot of results, but none of them that I've found are taking about this localhost. 😆
Beta Was this translation helpful? Give feedback.
All reactions