Skip to content

Commit

Permalink
Use correct paths in test/config/ssl_config.rb (puma#2750)
Browse files Browse the repository at this point in the history
Make `puma -C test/config/ssl_config.rb` works out-of-the-box. Looks
like tests haven't complained because `test_ssl_configuration_from_DSL`
doesn't actually start Puma.
  • Loading branch information
dentarg authored and JuanitoFatas committed Sep 9, 2022
1 parent a0f8688 commit 3068285
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/config/ssl_config.rb
@@ -1,6 +1,6 @@
key = File.expand_path "../../examples/puma/puma_keypair.pem", __FILE__
cert = File.expand_path "../../examples/puma/cert_puma.pem", __FILE__
ca = File.expand_path "../../examples/puma/client-certs/ca.crt", __FILE__
key = File.expand_path "../../../examples/puma/puma_keypair.pem", __FILE__
cert = File.expand_path "../../../examples/puma/cert_puma.pem", __FILE__
ca = File.expand_path "../../../examples/puma/client-certs/ca.crt", __FILE__

ssl_bind "0.0.0.0", 9292, :cert => cert, :key => key, :verify_mode => "peer", :ca => ca

Expand Down

0 comments on commit 3068285

Please sign in to comment.