{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/plug/issues/181","labels_url":"https://api.github.com/repos/elixir-lang/plug/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/plug/issues/181/comments","events_url":"https://api.github.com/repos/elixir-lang/plug/issues/181/events","html_url":"https://github.com/elixir-lang/plug/issues/181","id":57236195,"number":181,"title":"Plug.Static not working as intended?","user":{"login":"termoose","id":179959,"avatar_url":"https://avatars.githubusercontent.com/u/179959?v=3","gravatar_id":"","url":"https://api.github.com/users/termoose","html_url":"https://github.com/termoose","followers_url":"https://api.github.com/users/termoose/followers","following_url":"https://api.github.com/users/termoose/following{/other_user}","gists_url":"https://api.github.com/users/termoose/gists{/gist_id}","starred_url":"https://api.github.com/users/termoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termoose/subscriptions","organizations_url":"https://api.github.com/users/termoose/orgs","repos_url":"https://api.github.com/users/termoose/repos","events_url":"https://api.github.com/users/termoose/events{/privacy}","received_events_url":"https://api.github.com/users/termoose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-10T21:03:16Z","updated_at":"2015-02-10T21:38:34Z","closed_at":null,"body":"I'm having some issues when I want to serve files from outside of priv/static, my configuration looks as follows:\r\n    plug Plug.Static,\r\n    at: \"/files/\", from: \"/files/\"\r\n\r\nAnd I keep a folder starting on the root point of the hard disk \"/files/\" that I want to serve files from. \r\n\r\nI also tried to keep a folder relative to my application with\r\n    plug Plug.Static,\r\n    at: \"/files/\", from: {:my_app, \"/files/\"}\r\n\r\nbut it does not seem to work either. Am I doing something wrong here or is it not implemented?"},"comment":{"url":"https://api.github.com/repos/elixir-lang/plug/issues/comments/73789336","html_url":"https://github.com/elixir-lang/plug/issues/181#issuecomment-73789336","issue_url":"https://api.github.com/repos/elixir-lang/plug/issues/181","id":73789336,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T21:38:34Z","updated_at":"2015-02-10T21:38:34Z","body":"So you have an earlier plug? Would it work if you revert the plug order?"}}