{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/969","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/969/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/969/events","html_url":"https://github.com/mholt/caddy/issues/969","id":168379213,"number":969,"title":"Downloads at mysite.tld/user1/xxx resolving to mysite.tld/xxx","user":{"login":"MSF-Jarvis","id":13348378,"avatar_url":"https://avatars.githubusercontent.com/u/13348378?v=3","gravatar_id":"","url":"https://api.github.com/users/MSF-Jarvis","html_url":"https://github.com/MSF-Jarvis","followers_url":"https://api.github.com/users/MSF-Jarvis/followers","following_url":"https://api.github.com/users/MSF-Jarvis/following{/other_user}","gists_url":"https://api.github.com/users/MSF-Jarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/MSF-Jarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSF-Jarvis/subscriptions","organizations_url":"https://api.github.com/users/MSF-Jarvis/orgs","repos_url":"https://api.github.com/users/MSF-Jarvis/repos","events_url":"https://api.github.com/users/MSF-Jarvis/events{/privacy}","received_events_url":"https://api.github.com/users/MSF-Jarvis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-29T17:56:13Z","updated_at":"2016-07-30T10:07:53Z","closed_at":null,"body":"#### 1. What version of Caddy are you running (`caddy -version`)?\r\n\r\n0.9.0\r\n\r\n#### 2. What are you trying to do?\r\n\r\nTrying to serve a downloads index powered by `browse` at mysite.tld/user1\r\n\r\n#### 3. What is your entire Caddyfile?\r\n```text\r\nmysite.tld/user1 {\r\n    root /var/www/user1\r\n    browse\r\n    tls msfjarvis@gmail.com\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\nUsed the systemd unit from the caddyserver.com/examples repo\r\n\r\n#### 5. What did you expect to see?\r\n\r\nWhen downloading a file from there, expected it to download properly.\r\n\r\n#### 6. What did you see instead (give full error messages and/or log)?\r\n\r\n```\r\nJul 29 12:37:06 kreiger caddy[20713]: 2016/07/29 12:37:06 [INFO] mysite.tld - No such site at :443 (Remote: 112.196.146....trek852)\r\n```\r\n\r\nThe download at `mysite.tld/user1/file.zip`, when clicked on, resolved automatically to `mysite.tld/file.zip` and gave the `No such site at :443` error message on the browser window and the caddy log\r\n\r\n#### 7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?\r\n\r\nUse the Caddyfile above and place a file in your specified root. Try downloading it, If all goes wrong you will hit the bug.\r\n\r\n#### 8.  Additional Info\r\n\r\nI can reproduce this bug locally by serving at :2015 with `tls off` too."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/236357113","html_url":"https://github.com/mholt/caddy/issues/969#issuecomment-236357113","issue_url":"https://api.github.com/repos/mholt/caddy/issues/969","id":236357113,"user":{"login":"MSF-Jarvis","id":13348378,"avatar_url":"https://avatars.githubusercontent.com/u/13348378?v=3","gravatar_id":"","url":"https://api.github.com/users/MSF-Jarvis","html_url":"https://github.com/MSF-Jarvis","followers_url":"https://api.github.com/users/MSF-Jarvis/followers","following_url":"https://api.github.com/users/MSF-Jarvis/following{/other_user}","gists_url":"https://api.github.com/users/MSF-Jarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/MSF-Jarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSF-Jarvis/subscriptions","organizations_url":"https://api.github.com/users/MSF-Jarvis/orgs","repos_url":"https://api.github.com/users/MSF-Jarvis/repos","events_url":"https://api.github.com/users/MSF-Jarvis/events{/privacy}","received_events_url":"https://api.github.com/users/MSF-Jarvis/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T10:07:53Z","updated_at":"2016-07-30T10:07:53Z","body":"same old, but I did manage to see a couple of downloads. And you have a typo at `mhot` :p "}}
{"actor":{"display_login":"MSF-Jarvis"}}