{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/2138","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/2138/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/2138/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/2138/events","html_url":"https://github.com/mholt/caddy/issues/2138","id":317545298,"number":2138,"title":"How to listen to 80 ？","user":{"login":"Kevinl7","id":22197685,"avatar_url":"https://avatars1.githubusercontent.com/u/22197685?v=4","gravatar_id":"","url":"https://api.github.com/users/Kevinl7","html_url":"https://github.com/Kevinl7","followers_url":"https://api.github.com/users/Kevinl7/followers","following_url":"https://api.github.com/users/Kevinl7/following{/other_user}","gists_url":"https://api.github.com/users/Kevinl7/gists{/gist_id}","starred_url":"https://api.github.com/users/Kevinl7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kevinl7/subscriptions","organizations_url":"https://api.github.com/users/Kevinl7/orgs","repos_url":"https://api.github.com/users/Kevinl7/repos","events_url":"https://api.github.com/users/Kevinl7/events{/privacy}","received_events_url":"https://api.github.com/users/Kevinl7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-25T09:21:25Z","updated_at":"2018-04-25T15:11:11Z","closed_at":"2018-04-25T15:11:11Z","author_association":"NONE","body":"<!--\r\nAre you asking for help with using Caddy? Please use our forum instead: https://caddy.community. If you are filing a bug report, please take a few minutes to carefully answer the following questions. If your issue is not a bug report, you do not need to use this template. Thanks!)\r\n-->\r\n\r\n### 1. What version of Caddy are you using (`caddy -version`)?\r\nI must now operate caddy -port 2015 every time before you can access it properly.\r\n```\r\nroot@iZbp16z10dzvv6jyd1i6wrZ:/etc/caddy# caddy -port 2015 \r\nActivating privacy features... done. \r\nhttps://ojbk.fun \r\nhttp://ojbk.fun\r\n```\r\n\r\n### 2. What are you trying to do?\r\nHow to listen to 80 ？\r\n\r\n### 3. What is your entire Caddyfile?\r\n```\r\nojbk.fun {\r\nroot /var/www \r\ngzip\r\n}\r\n```\r\n\r\n### 4. How did you run Caddy (give the full command and describe the execution environment)?\r\n\r\n\r\n### 5. Please paste any relevant HTTP request(s) here.\r\n\r\n<!-- Paste curl command, or full HTTP request including headers and body, here. -->\r\n\r\n\r\n### 6. What did you expect to see?\r\n\r\n\r\n### 7. What did you see instead (give full error messages and/or log)?\r\n\r\n\r\n### 8. How can someone who is starting from scratch reproduce the bug as minimally as possible?\r\n\r\n<!-- Please strip away any extra infrastructure such as containers, reverse proxies, upstream apps, caches, dependencies, etc, to prove this is a bug in Caddy and not an external misconfiguration. Your chances of getting this bug fixed go way up the easier it is to replicate. Thank you! -->\r\n"},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/384322873","html_url":"https://github.com/mholt/caddy/issues/2138#issuecomment-384322873","issue_url":"https://api.github.com/repos/mholt/caddy/issues/2138","id":384322873,"user":{"login":"mholt","id":1128849,"avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T15:11:11Z","updated_at":"2018-04-25T15:11:11Z","author_association":"OWNER","body":"Remove the `-port` flag, and Caddy will listen on ports 80 and 443, with redirects set up for you. See https://caddyserver.com/docs/automatic-https."}}
{"actor":{"display_login":"mholt"}}