-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Puma doesn't start in ssl mode #25700
Comments
This is related to #24435 and puma/puma#939. Here is the issue. Puma favors config you pass in directly over config in your
and you run
Then def ssl_bind(host, port, opts)
o = [
"cert=#{opts[:cert]}",
"key=#{opts[:key]}"
]
@options[:binds] << "ssl://#{host}:#{port}?#{o.join('&')}"
end It works with the The answer is to not use the |
This problem is really weird. One of my rails apps reads the config file, and one does not. |
@janwendt it worked for me using these versions:
|
This issue has been automatically marked as stale because it has not been commented on for at least three months. |
I have added this one to my puma.rb
and
rails s
doesn't start puma in ssl mode.puma -C config/puma.rb
works just fine!!!The text was updated successfully, but these errors were encountered: