{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/2192","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/2192/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/2192/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/2192/events","html_url":"https://github.com/mholt/caddy/issues/2192","id":329530223,"node_id":"MDU6SXNzdWUzMjk1MzAyMjM=","number":2192,"title":"Bind to Unix socket","user":{"login":"AliveDevil","id":734738,"node_id":"MDQ6VXNlcjczNDczOA==","avatar_url":"https://avatars0.githubusercontent.com/u/734738?v=4","gravatar_id":"","url":"https://api.github.com/users/AliveDevil","html_url":"https://github.com/AliveDevil","followers_url":"https://api.github.com/users/AliveDevil/followers","following_url":"https://api.github.com/users/AliveDevil/following{/other_user}","gists_url":"https://api.github.com/users/AliveDevil/gists{/gist_id}","starred_url":"https://api.github.com/users/AliveDevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliveDevil/subscriptions","organizations_url":"https://api.github.com/users/AliveDevil/orgs","repos_url":"https://api.github.com/users/AliveDevil/repos","events_url":"https://api.github.com/users/AliveDevil/events{/privacy}","received_events_url":"https://api.github.com/users/AliveDevil/received_events","type":"User","site_admin":false},"labels":[{"id":204890680,"node_id":"MDU6TGFiZWwyMDQ4OTA2ODA=","url":"https://api.github.com/repos/mholt/caddy/labels/feature%20request","name":"feature request","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-05T16:19:43Z","updated_at":"2018-06-11T15:39:33Z","closed_at":null,"author_association":"NONE","body":"I'd like to request the feature to bind to unix sockets.\r\n\r\nTechnical background for this feature request:\r\n* Master Caddy-server handling SSL-certificates running under www-data, connecting to unix sockets as proxies\r\n* Per-User Caddy-instances running under the user account with sockets being accessible to www-data:www-data\r\n\r\nFollowing things would be great for bind configuration:\r\n> bind &lt;host&gt;\r\n\r\nBinds to TCP\r\n\r\n> bind unix://path <user>:<group> umask\r\n\r\nBinds to Unix path with owner being `user:group` with permission `umask`. This feature is only available to Unix-like systems as Windows does not allow sockets.\r\n\r\nUsing Unix sockets should automatically disable all HTTPS-functionality.\r\n\r\nAs I'm not comfortable with Go I cannot add this functionality by myself."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/396288115","html_url":"https://github.com/mholt/caddy/issues/2192#issuecomment-396288115","issue_url":"https://api.github.com/repos/mholt/caddy/issues/2192","id":396288115,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjI4ODExNQ==","user":{"login":"theodesp","id":328805,"node_id":"MDQ6VXNlcjMyODgwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/328805?v=4","gravatar_id":"","url":"https://api.github.com/users/theodesp","html_url":"https://github.com/theodesp","followers_url":"https://api.github.com/users/theodesp/followers","following_url":"https://api.github.com/users/theodesp/following{/other_user}","gists_url":"https://api.github.com/users/theodesp/gists{/gist_id}","starred_url":"https://api.github.com/users/theodesp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodesp/subscriptions","organizations_url":"https://api.github.com/users/theodesp/orgs","repos_url":"https://api.github.com/users/theodesp/repos","events_url":"https://api.github.com/users/theodesp/events{/privacy}","received_events_url":"https://api.github.com/users/theodesp/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T15:39:33Z","updated_at":"2018-06-11T15:39:33Z","author_association":"COLLABORATOR","body":"It's not actually the same as Unix Domain Sockets bind with permissions also. But the approach to have a `host` or `server` directive is flexible as it will allow binding to different types of connections."}}
{"actor":{"display_login":"theodesp"}}