{"action":"created","issue":{"url":"https://api.github.com/repos/kelunik/acme-client/issues/30","repository_url":"https://api.github.com/repos/kelunik/acme-client","labels_url":"https://api.github.com/repos/kelunik/acme-client/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/kelunik/acme-client/issues/30/comments","events_url":"https://api.github.com/repos/kelunik/acme-client/issues/30/events","html_url":"https://github.com/kelunik/acme-client/issues/30","id":159285016,"number":30,"title":"More configuration file examples for auto","user":{"login":"PalleZ","id":6241177,"avatar_url":"https://avatars.githubusercontent.com/u/6241177?v=3","gravatar_id":"","url":"https://api.github.com/users/PalleZ","html_url":"https://github.com/PalleZ","followers_url":"https://api.github.com/users/PalleZ/followers","following_url":"https://api.github.com/users/PalleZ/following{/other_user}","gists_url":"https://api.github.com/users/PalleZ/gists{/gist_id}","starred_url":"https://api.github.com/users/PalleZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PalleZ/subscriptions","organizations_url":"https://api.github.com/users/PalleZ/orgs","repos_url":"https://api.github.com/users/PalleZ/repos","events_url":"https://api.github.com/users/PalleZ/events{/privacy}","received_events_url":"https://api.github.com/users/PalleZ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kelunik/acme-client/labels/question","name":"question","color":"fef2c0"},{"url":"https://api.github.com/repos/kelunik/acme-client/labels/usability","name":"usability","color":"66dd66"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-08T22:04:53Z","updated_at":"2016-06-09T14:43:36Z","closed_at":"2016-06-09T14:43:36Z","body":"I really like the new auto option but I have some issues with getting it to work. Maybe it's because I'm not so good at YAML. It would be nice with some more examples on how to configure different cases.\r\n\r\nAn example:\r\n\r\nI want to have two sites with different certificates so I put this in config file:\r\n\r\n```\r\ncertificates:\r\n    - paths:\r\n       - /www/example1: site1.example.org\r\n       - /www/example2: site2.example.org\r\n```\r\nBut then I get:\r\n\r\nIssuance for the following domains failed: site1.example.org, site2.example.org\r\nReason: exception 'Kelunik\\Acme\\AcmeException' with message 'Unexpected exit code (1) for ''/usr/bin/php' './acme-client.phar' 'issue' '--server' 'letsencrypt' '--storage' '/etc/acme' '--domains' 'site1.example.org, site2.example.org' '--path' '0:1''.\r\n\r\nIf I try:\r\n\r\n```\r\ncertificates:\r\n    - paths:\r\n       /www/example1: site1.example.org\r\n       /www/example2: site2.example.org\r\n```\r\n\r\nI get both sites in one certificate with name from the first site. Which I guess makes sense (at least if one is used to the issue command) and which will probably work as long as I don't have more than the limit of sites for one certificate.\r\n\r\nTested on 0.2.7\r\n"},"comment":{"url":"https://api.github.com/repos/kelunik/acme-client/issues/comments/224917030","html_url":"https://github.com/kelunik/acme-client/issues/30#issuecomment-224917030","issue_url":"https://api.github.com/repos/kelunik/acme-client/issues/30","id":224917030,"user":{"login":"kelunik","id":2743004,"avatar_url":"https://avatars.githubusercontent.com/u/2743004?v=3","gravatar_id":"","url":"https://api.github.com/users/kelunik","html_url":"https://github.com/kelunik","followers_url":"https://api.github.com/users/kelunik/followers","following_url":"https://api.github.com/users/kelunik/following{/other_user}","gists_url":"https://api.github.com/users/kelunik/gists{/gist_id}","starred_url":"https://api.github.com/users/kelunik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelunik/subscriptions","organizations_url":"https://api.github.com/users/kelunik/orgs","repos_url":"https://api.github.com/users/kelunik/repos","events_url":"https://api.github.com/users/kelunik/events{/privacy}","received_events_url":"https://api.github.com/users/kelunik/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T14:43:36Z","updated_at":"2016-06-09T14:43:36Z","body":"Next release will contain a helpful error message if you try to attempt with your previous configuration."}}
{"actor":{"display_login":"kelunik"}}