Hello,
I have a challenging production environment. The short version is that I am using trying to use a single hypnotoad instance to host multiple domain names. It was working great right up until I added my second https domain. After mucking about a while, I tried using the bare host name (
blah.com instead of
www.blah.com) and it worked. This was just totally non-obvious from the documentation, so I wanted to mention it here in case somebody else is running into the same thing. My config is:
{
listen => ['http://*:80',
'https://blah1.com:443:/usr/local/www/prod/doc/blah1.crt:/usr/local/www/prod/doc/blah1.key',
'https://blah2.com:443:/usr/local/www/prod/doc/blah2.crt:/usr/local/www/prod/doc/blah2.key',
],
workers => 4,
pid_file => '/tmp/blah.pid',
};
Oh, and if you are using an intermediate certificate, you can just contatinate it to the end of your actual cert and it works.
James