{"action":"created","issue":{"url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/12","labels_url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/12/comments","events_url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/12/events","html_url":"https://github.com/Daplie/letsencrypt-express/issues/12","id":127126542,"number":12,"title":"security certificate is from localhost.daplie.com","user":{"login":"FaridSafi","id":388375,"avatar_url":"https://avatars.githubusercontent.com/u/388375?v=3","gravatar_id":"","url":"https://api.github.com/users/FaridSafi","html_url":"https://github.com/FaridSafi","followers_url":"https://api.github.com/users/FaridSafi/followers","following_url":"https://api.github.com/users/FaridSafi/following{/other_user}","gists_url":"https://api.github.com/users/FaridSafi/gists{/gist_id}","starred_url":"https://api.github.com/users/FaridSafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaridSafi/subscriptions","organizations_url":"https://api.github.com/users/FaridSafi/orgs","repos_url":"https://api.github.com/users/FaridSafi/repos","events_url":"https://api.github.com/users/FaridSafi/events{/privacy}","received_events_url":"https://api.github.com/users/FaridSafi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-17T21:51:49Z","updated_at":"2016-01-25T14:28:11Z","closed_at":null,"body":"Hello @coolaj86,\r\nThank you for this package. It works well for my main domain https://nomads.ly\r\n\r\nI created a certificate for the domains nomads.ly and api.nomads.ly but I have an issue with the second one \"security certificate is from localhost.daplie.com\"\r\n\r\n![screen shot 2016-01-17 at 22 37 02](https://cloud.githubusercontent.com/assets/388375/12380126/fd925d9e-bd6a-11e5-8e83-1bd0ae781e6c.png)\r\n\r\nIs there an option to handle multiple domains ?\r\n\r\nThe code I use is simple\r\n```js\r\nlex.create('/etc/letsencrypt', app).listen([3000], [443, 5001], function () {}); /* 80 is redirected to 3000 */\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/comments/174522952","html_url":"https://github.com/Daplie/letsencrypt-express/issues/12#issuecomment-174522952","issue_url":"https://api.github.com/repos/Daplie/letsencrypt-express/issues/12","id":174522952,"user":{"login":"RobertWarrenGilmore","id":4361000,"avatar_url":"https://avatars.githubusercontent.com/u/4361000?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertWarrenGilmore","html_url":"https://github.com/RobertWarrenGilmore","followers_url":"https://api.github.com/users/RobertWarrenGilmore/followers","following_url":"https://api.github.com/users/RobertWarrenGilmore/following{/other_user}","gists_url":"https://api.github.com/users/RobertWarrenGilmore/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertWarrenGilmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertWarrenGilmore/subscriptions","organizations_url":"https://api.github.com/users/RobertWarrenGilmore/orgs","repos_url":"https://api.github.com/users/RobertWarrenGilmore/repos","events_url":"https://api.github.com/users/RobertWarrenGilmore/events{/privacy}","received_events_url":"https://api.github.com/users/RobertWarrenGilmore/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T14:28:11Z","updated_at":"2016-01-25T14:28:11Z","body":"https://github.com/Daplie/letsencrypt-express/blob/master/lib/standalone.js#L164\r\n\r\nIt seems like this `listen` function starts some servers, but doesn't bother to restart them using the new cert when the cert changes."}}