1

I start WEBrick server through Padrino by this command: padrino start

It listens on localhost, but I would like to use WEBrick virtual hosts to change this behaviour to respond to other hostnames like example.com. But padrino start doesn't have these options. How can I pass virtual hosts details to WEBrick?

4

1 回答 1

1

它实际上确实可以选择这样做。

bundle exec padrino start -h example.com

应该绑定到 example.com 进行收听。

于 2013-05-27T23:52:56.983 回答