{"action":"opened","issue":{"url":"https://api.github.com/repos/tredly/tredly-host/issues/25","repository_url":"https://api.github.com/repos/tredly/tredly-host","labels_url":"https://api.github.com/repos/tredly/tredly-host/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/tredly/tredly-host/issues/25/comments","events_url":"https://api.github.com/repos/tredly/tredly-host/issues/25/events","html_url":"https://github.com/tredly/tredly-host/issues/25","id":153936837,"number":25,"title":"Add ability to redirect ports to another port.","user":{"login":"dinapappor","id":5546957,"avatar_url":"https://avatars.githubusercontent.com/u/5546957?v=3","gravatar_id":"","url":"https://api.github.com/users/dinapappor","html_url":"https://github.com/dinapappor","followers_url":"https://api.github.com/users/dinapappor/followers","following_url":"https://api.github.com/users/dinapappor/following{/other_user}","gists_url":"https://api.github.com/users/dinapappor/gists{/gist_id}","starred_url":"https://api.github.com/users/dinapappor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinapappor/subscriptions","organizations_url":"https://api.github.com/users/dinapappor/orgs","repos_url":"https://api.github.com/users/dinapappor/repos","events_url":"https://api.github.com/users/dinapappor/events{/privacy}","received_events_url":"https://api.github.com/users/dinapappor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T07:02:24Z","updated_at":"2016-05-10T07:02:24Z","closed_at":null,"body":"For instance. Let's say I have a python project running as a deploy user.\r\n\r\nThat user is not allowed to allocate port 80 since it's not root. Hence, I would need to have the nginx reverse_proxy talk with the port I specify in the Tredlyfile.\r\n\r\nMaybe it could be like this:\r\n\r\nurl1=test.example.com\r\n\r\nhttpInPort=8080\r\n\r\ntcpInPort=8080\r\n\r\nTredly would then know to configure nginx to forward to port 8080 in the jail.\r\n\r\nEven though using jails and containers is pretty secure this would add an additional bit of security."}}