Using localhost with Unicorn? #16
Unanswered
stevenharman
asked this question in
Q&A
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::SSLContextYou 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. |
0 replies
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 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
👋 Hello friends!
Has anyone succeeded, or even looked into, getting
localhostworking 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. 😆
All reactions