rack - Start Padrino on different host (virtual) -
i start webrick server through padrino command: padrino start
it listens on localhost
, use webrick virtual hosts change behaviour respond other hostnames example.com
. padrino start
doesn't have these options. how can pass virtual hosts details webrick?
it have option so.
bundle exec padrino start -h example.com
should bind example.com listening.
Comments
Post a Comment