{"action":"created","issue":{"url":"https://api.github.com/repos/umputun/nginx-le/issues/27","repository_url":"https://api.github.com/repos/umputun/nginx-le","labels_url":"https://api.github.com/repos/umputun/nginx-le/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/umputun/nginx-le/issues/27/comments","events_url":"https://api.github.com/repos/umputun/nginx-le/issues/27/events","html_url":"https://github.com/umputun/nginx-le/issues/27","id":394399605,"node_id":"MDU6SXNzdWUzOTQzOTk2MDU=","number":27,"title":"Support multiple domains (domain1.com, domain2.org, example.ru)","user":{"login":"korney4eg","id":1872070,"node_id":"MDQ6VXNlcjE4NzIwNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1872070?v=4","gravatar_id":"","url":"https://api.github.com/users/korney4eg","html_url":"https://github.com/korney4eg","followers_url":"https://api.github.com/users/korney4eg/followers","following_url":"https://api.github.com/users/korney4eg/following{/other_user}","gists_url":"https://api.github.com/users/korney4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/korney4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korney4eg/subscriptions","organizations_url":"https://api.github.com/users/korney4eg/orgs","repos_url":"https://api.github.com/users/korney4eg/repos","events_url":"https://api.github.com/users/korney4eg/events{/privacy}","received_events_url":"https://api.github.com/users/korney4eg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-27T13:49:15Z","updated_at":"2018-12-27T21:30:56Z","closed_at":null,"author_association":"NONE","body":"It would be nice to have support for different domains, not only FQDN's.\r\n\r\nFor example, I would like to host on single instance 2 static sites (myblog.com, otherside.ru) and 1 dynamic site (myjenkins.org) as a reverse proxy.\r\n\r\nDoes it make sence?"},"comment":{"url":"https://api.github.com/repos/umputun/nginx-le/issues/comments/450234710","html_url":"https://github.com/umputun/nginx-le/issues/27#issuecomment-450234710","issue_url":"https://api.github.com/repos/umputun/nginx-le/issues/27","id":450234710,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDIzNDcxMA==","user":{"login":"korney4eg","id":1872070,"node_id":"MDQ6VXNlcjE4NzIwNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1872070?v=4","gravatar_id":"","url":"https://api.github.com/users/korney4eg","html_url":"https://github.com/korney4eg","followers_url":"https://api.github.com/users/korney4eg/followers","following_url":"https://api.github.com/users/korney4eg/following{/other_user}","gists_url":"https://api.github.com/users/korney4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/korney4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korney4eg/subscriptions","organizations_url":"https://api.github.com/users/korney4eg/orgs","repos_url":"https://api.github.com/users/korney4eg/repos","events_url":"https://api.github.com/users/korney4eg/events{/privacy}","received_events_url":"https://api.github.com/users/korney4eg/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T21:30:56Z","updated_at":"2018-12-27T21:30:56Z","author_association":"NONE","body":"Hey @paskal , @umputun . Thank you for quick answering.\r\nHere is complete example:\r\nI have static such sites:\r\n**blog.com**(static) - files located in `/opt/sites/blog.com`\r\n**otherside.ru**(static) - files located in `/opt/sites/otherside.ru`\r\n**myjenkins.org**(dynamic) -  proxy `localhost:8080`\r\n\r\nSo I would like to be able to have one script with different `service*.conf` files that can handle 3 this sites.\r\n\r\nRight now I see that it doesn't work for single static site, because on `le.sh` ([/usr/share/nginx/html path is hardcoded](https://github.com/umputun/nginx-le/blob/master/script/le.sh#L33)\r\n\r\nRight now I'm thinking how to fix this. Maybe you can share your thoughts what approach would be better.\r\n"}}
{"actor":{"display_login":"korney4eg"}}