{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13060","labels_url":"https://api.github.com/repos/owncloud/core/issues/13060/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13060/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13060/events","html_url":"https://github.com/owncloud/core/pull/13060","id":53147798,"number":13060,"title":"Fix: X-Accel-Redirect did not support custom data dir and local mounts","user":{"login":"dratini0","id":1625485,"avatar_url":"https://avatars.githubusercontent.com/u/1625485?v=3","gravatar_id":"","url":"https://api.github.com/users/dratini0","html_url":"https://github.com/dratini0","followers_url":"https://api.github.com/users/dratini0/followers","following_url":"https://api.github.com/users/dratini0/following{/other_user}","gists_url":"https://api.github.com/users/dratini0/gists{/gist_id}","starred_url":"https://api.github.com/users/dratini0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dratini0/subscriptions","organizations_url":"https://api.github.com/users/dratini0/orgs","repos_url":"https://api.github.com/users/dratini0/repos","events_url":"https://api.github.com/users/dratini0/events{/privacy}","received_events_url":"https://api.github.com/users/dratini0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5%20-%20To%20review","name":"5 - To review","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/29","labels_url":"https://api.github.com/repos/owncloud/core/milestones/29/labels","id":841322,"number":29,"title":"8.0-current","description":null,"creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":800,"state":"open","created_at":"2014-10-27T01:20:05Z","updated_at":"2015-02-10T18:40:49Z","due_on":"2015-01-02T22:00:00Z","closed_at":null},"comments":29,"created_at":"2014-12-30T21:17:35Z","updated_at":"2015-02-11T01:18:06Z","closed_at":"2015-01-04T09:09:30Z","pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/13060","html_url":"https://github.com/owncloud/core/pull/13060","diff_url":"https://github.com/owncloud/core/pull/13060.diff","patch_url":"https://github.com/owncloud/core/pull/13060.patch"},"body":"I was moving my install with a custom data directory and a local mount to ngnix, and I ran into this problem. (Cloud not download anything with MOD_X_ACCEL_REDIRECT_ENABLED on). It was a nightmare to debug, but here it is.\r\n\r\nThis contribution is MIT licensed."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/73819046","html_url":"https://github.com/owncloud/core/pull/13060#issuecomment-73819046","issue_url":"https://api.github.com/repos/owncloud/core/issues/13060","id":73819046,"user":{"login":"dratini0","id":1625485,"avatar_url":"https://avatars.githubusercontent.com/u/1625485?v=3","gravatar_id":"","url":"https://api.github.com/users/dratini0","html_url":"https://github.com/dratini0","followers_url":"https://api.github.com/users/dratini0/followers","following_url":"https://api.github.com/users/dratini0/following{/other_user}","gists_url":"https://api.github.com/users/dratini0/gists{/gist_id}","starred_url":"https://api.github.com/users/dratini0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dratini0/subscriptions","organizations_url":"https://api.github.com/users/dratini0/orgs","repos_url":"https://api.github.com/users/dratini0/repos","events_url":"https://api.github.com/users/dratini0/events{/privacy}","received_events_url":"https://api.github.com/users/dratini0/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T01:18:06Z","updated_at":"2015-02-11T01:18:06Z","body":"Are shares not accesed by their apparent path? (Forgive me if it is not the\nright terminology, or if I am mistaken)\n\nI think a good solution would be to combine alias, root / and internal to\nachieve paths like /oc_sendfile_prefix/path/to/data_and_mounts. This would\nmean a new configuration option, or better yet, a new envvar. (To store the\nprefix) Sorry, i can not give a config right now, but I do believe a simple\nlocation will work.\n"}}