{"action":"created","issue":{"url":"https://api.github.com/repos/SteveLTN/https-portal/issues/11","repository_url":"https://api.github.com/repos/SteveLTN/https-portal","labels_url":"https://api.github.com/repos/SteveLTN/https-portal/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SteveLTN/https-portal/issues/11/comments","events_url":"https://api.github.com/repos/SteveLTN/https-portal/issues/11/events","html_url":"https://github.com/SteveLTN/https-portal/issues/11","id":128047480,"number":11,"title":"Is it possibile to use this Docker image on a VPS?","user":{"login":"ticketapp","id":8992462,"avatar_url":"https://avatars.githubusercontent.com/u/8992462?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketapp","html_url":"https://github.com/ticketapp","followers_url":"https://api.github.com/users/ticketapp/followers","following_url":"https://api.github.com/users/ticketapp/following{/other_user}","gists_url":"https://api.github.com/users/ticketapp/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketapp/subscriptions","organizations_url":"https://api.github.com/users/ticketapp/orgs","repos_url":"https://api.github.com/users/ticketapp/repos","events_url":"https://api.github.com/users/ticketapp/events{/privacy}","received_events_url":"https://api.github.com/users/ticketapp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-01-21T23:39:44Z","updated_at":"2016-03-23T20:32:18Z","closed_at":"2016-01-22T12:31:54Z","body":"I'm trying to make this Docker image on my VPS. I followed the prerequisites (I have Docker installed, the ports 80 and 443 are available and my domain name resolves to my machine (I could access it by http://claude.wtf).\r\n\r\nI just copied the docker-copose.yml file:\r\n\r\nhttps-portal:\r\n  image: steveltn/https-portal\r\nports:\r\n  - '80:80'\r\n  - '443:443'\r\nenvironment:\r\n  DOMAINS: 'example.com'\r\n  PRODUCTION: 'true'\r\n\r\nAnd I changed the example.com by claude.wtf.\r\nWhen I run the command docker-compose up -d, I don't have any errors, all seems to work well:\r\n\r\nName                 Command   State                  Ports                   \r\n--------------------------------------------------------------------------------\r\nroot_https-portal_1   /init     Up      0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp \r\n\r\nBut if I try to access https://claude.wtf/ with curl I get this error: Failed to connect to claude.wtf port 443: Connection refused.\r\n\r\nIn order to avoid this error, I have done:\r\n\r\niptables -A INPUT -p tcp -m tcp --sport 443 -j ACCEPT\r\niptables -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT \r\n\r\nAnd I don't seem to have any firewall activated since sudo ufw status verbose gives Status: inactive.\r\n\r\nWhat could I have forgotten, or what am I doing wrong?\r\nThanks for your responses ;)\r\n"},"comment":{"url":"https://api.github.com/repos/SteveLTN/https-portal/issues/comments/200532451","html_url":"https://github.com/SteveLTN/https-portal/issues/11#issuecomment-200532451","issue_url":"https://api.github.com/repos/SteveLTN/https-portal/issues/11","id":200532451,"user":{"login":"ticketapp","id":8992462,"avatar_url":"https://avatars.githubusercontent.com/u/8992462?v=3","gravatar_id":"","url":"https://api.github.com/users/ticketapp","html_url":"https://github.com/ticketapp","followers_url":"https://api.github.com/users/ticketapp/followers","following_url":"https://api.github.com/users/ticketapp/following{/other_user}","gists_url":"https://api.github.com/users/ticketapp/gists{/gist_id}","starred_url":"https://api.github.com/users/ticketapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticketapp/subscriptions","organizations_url":"https://api.github.com/users/ticketapp/orgs","repos_url":"https://api.github.com/users/ticketapp/repos","events_url":"https://api.github.com/users/ticketapp/events{/privacy}","received_events_url":"https://api.github.com/users/ticketapp/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T20:32:18Z","updated_at":"2016-03-23T20:32:18Z","body":"Ah ok, so it does not come from this, since I tried to make it work on a similar VPS (in January when I first post my issue here) configuring only by ssh. I think that I'm going to use a Digital Ocean server since I have no idea of how I managed to make it work. Thanks for the time you took!"}}