{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/documentation/issues/122","labels_url":"https://api.github.com/repos/owncloud/documentation/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/documentation/issues/122/comments","events_url":"https://api.github.com/repos/owncloud/documentation/issues/122/events","html_url":"https://github.com/owncloud/documentation/issues/122","id":14140664,"number":122,"title":"Add X-Accel/XSendfile support to Nginx config example","user":{"login":"DDevine","id":913394,"avatar_url":"https://avatars.githubusercontent.com/u/913394?v=3","gravatar_id":"","url":"https://api.github.com/users/DDevine","html_url":"https://github.com/DDevine","followers_url":"https://api.github.com/users/DDevine/followers","following_url":"https://api.github.com/users/DDevine/following{/other_user}","gists_url":"https://api.github.com/users/DDevine/gists{/gist_id}","starred_url":"https://api.github.com/users/DDevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDevine/subscriptions","organizations_url":"https://api.github.com/users/DDevine/orgs","repos_url":"https://api.github.com/users/DDevine/repos","events_url":"https://api.github.com/users/DDevine/events{/privacy}","received_events_url":"https://api.github.com/users/DDevine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-05-09T10:09:33Z","updated_at":"2015-03-04T20:19:45Z","closed_at":"2015-03-04T20:19:45Z","body":"The example in installation_others.rst doesn't have X-Accel support - this is commonly compiled into Nginx, so it makes sense to just utilise it in the default configuration.\r\n\r\nThe following is an example of what needs to be added - somebody experienced with Nginx and with a standard installation should verify this...\r\n\r\n```\r\nlocation ~ ^(.+?\\.php)(/.*)?$ {\r\n    [stuff here...]\r\n    fastcgi_param MOD_X_ACCEL_REDIRECT_ENABLED on;\r\n}\r\n\r\nlocation $document_root/data {\r\n    internal;\r\n    root /;\r\n}\r\n```"}}