{"action":"opened","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/556","repository_url":"https://api.github.com/repos/jwilder/nginx-proxy","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/556/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/556/events","html_url":"https://github.com/jwilder/nginx-proxy/issues/556","id":174695120,"number":556,"title":"Cannot proxy netdata","user":{"login":"tynor88","id":2877439,"avatar_url":"https://avatars.githubusercontent.com/u/2877439?v=3","gravatar_id":"","url":"https://api.github.com/users/tynor88","html_url":"https://github.com/tynor88","followers_url":"https://api.github.com/users/tynor88/followers","following_url":"https://api.github.com/users/tynor88/following{/other_user}","gists_url":"https://api.github.com/users/tynor88/gists{/gist_id}","starred_url":"https://api.github.com/users/tynor88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tynor88/subscriptions","organizations_url":"https://api.github.com/users/tynor88/orgs","repos_url":"https://api.github.com/users/tynor88/repos","events_url":"https://api.github.com/users/tynor88/events{/privacy}","received_events_url":"https://api.github.com/users/tynor88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-02T07:12:06Z","updated_at":"2016-09-02T07:12:06Z","closed_at":null,"body":"Hi,\r\n\r\nThanks for a great docker. I've succesfully proxied alot of my docker containers and it worked flawlessly until i tried to proxy Netdata docker (https://github.com/titpetric/netdata)\r\n\r\nThe service (webpage) is running on port 19999. It exposes that particular port in the [Docker file](https://github.com/titpetric/netdata/blob/master/Dockerfile#L10). \r\n\r\nI've added the VIRTUAL_PORT, VIRTUAL_HOST, LETSENCRYPT_HOST and LETSENCRYPT_MAIL variables to the docker, so the docker run looks like this:\r\n\r\n`\r\ndocker run -d --name=\"Netdata\" --net=\"bridge\" -e TZ=\"Europe/Paris\" -e HOST_OS=\"unRAID\" -e \" VIRTUAL_HOST\"=\"subdomain.mydomain.com\" -e \"LETSENCRYPT_HOST\"=\"subdomain.mydomain.com\" -e \"LETSENCRYPT_EMAIL\"=\"my@mail.com\" -e \"VIRTUAL_PORT\"=\"19999\" -p 19999:19999/tcp -v \"/proc\":\"/host/proc\":ro -v \"/sys\":\"/host/sys\":ro --cap-add SYS_PTRACE titpetric/netdata\r\n`\r\n\r\nI've tried using _--expose 19999_ as well as part of the _docker run_ with no luck. I'm using a similar configuration on 5 other docker containers (just a different subdomain), and they all work fine.\r\n\r\nNothing is being added to **default.conf**. I see alot of errors in the log with the service being unavailable:\r\n\r\n> \"Invalid response from http://subdomain.mydomain.com/.well-known/acme-challenge/rHVflldnEh1NCfRMYrO5aq3205FNw65wKHvKlCLab3U: \\\\\"\\\\u003chtml\\\\u003e\\\\r\\\\n\\\\u003chead\\\\u003e\\\\u003ctitle\\\\u003e503 Service Temporarily Unavailable\\\\u003c/title\\\\u003e\\\\u003c/head\\\\u003e\\\\r\\\\n\\\\u003cbody bgcolor=\\\\\"white\\\\\"\\\\u003e\\\\r\\\\n\\\\u003ccenter\\\\u003e\\\\u003ch1\\\\u003e503 Service Tempora\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"tynor88"}}