1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/config/ssl_self_signed_config.rb
Patrik Ragnarsson 03be0aaf01
Support localhost integration in ssl_bind (#2764)
Close #2708
Close #2711

Co-authored-by: Marcin Olichwirowicz <marcin.olichwirowicz@nedap.com>

Co-authored-by: Marcin Olichwirowicz <marcin.olichwirowicz@nedap.com>
2022-01-18 11:37:28 -07:00

7 lines
109 B
Ruby

require "localhost"
ssl_bind "0.0.0.0", 9292
app do |env|
[200, {}, ["self-signed certificate app"]]
end