[Pkg-owncloud-commits] [owncloud-doc] 61/80: Added comments in the config.

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 02:54:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit f115039cce1d3c7be1e3b9afb4182736e05ebef4
Author: josh4trunks <joshruehlig at gmail.com>
Date:   Tue Mar 25 08:02:41 2014 -0700

    Added comments in the config.
---
 admin_manual/configuration/xsendfile.rst | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/admin_manual/configuration/xsendfile.rst b/admin_manual/configuration/xsendfile.rst
index 93e6fe4..218de06 100644
--- a/admin_manual/configuration/xsendfile.rst
+++ b/admin_manual/configuration/xsendfile.rst
@@ -96,29 +96,38 @@ Configuration is similar to Apache::
 
     location ^~ /data {
         internal;
+        # Set 'alias' if not using the default 'datadirectory'
         #alias /path/to/non-default/datadirectory;
 
+    #    LOCAL-MOUNT-NAME should match "Folder name" and 'alias' value should match "Configuration"
+    #    A 'Local' External Storage Mountpoint available to a single user
     #    location /data/USER/files/LOCAL-FS-MOUNT-NAME {
     #        alias /path/to/local-mountpoint;
     #    }
 
+    #    A 'Local' External Storage Mountpoint available to mulitple users
     #    location ~ ^/data/(?:USER1|USER2)/files/LOCAL-FS-MOUNT-NAME/(.+)$ {
     #        alias /path/to/local-mountpoint/$1;
     #    }
 
+    #    A 'Local' External Storage Mountpoint available to all users
+    #    location ~ ^/data/[^/]+/files/LOCAL-FS-MOUNT-NAME/(.+)$ {
+    #        alias /path/to/local-mountpoint/$1;
+    #    }
+
     }
 
 
 * **fastcgi_param MOD_X_ACCEL_REDIRECT_ENABLED** ~ Tells ownCloud scripts that they should add the X-Accel-Redirect header when serving files.
-* **/data** ~ The ownCloud datadirectory.  Any Local File System External Storage Mounts must also have nested locations here.
+* **/data** ~ The ownCloud datadirectory.  Any 'Local' External Storage Mounts must also have nested locations here.
 
   * set alias if you are using a non-default datadirectory
 
-  * **/data/USER/files/LOCAL-FS-MOUNT-NAME** ~ a local fs external storage mount available to a single user
+  * **/data/USER/files/LOCAL-MOUNT-NAME** ~ a local external storage mount available to a single user
 
-  * **~ ^/data/(?:USER1|USER2)/files/LOCAL-FS-MOUNT-NAME/(.+)$** ~ a local fs external storage mount available to multiple users
+  * **~ ^/data/(?:USER1|USER2)/files/LOCAL-MOUNT-NAME/(.+)$** ~ a local external storage mount available to multiple users
 
-    * Replace **(?:USER1|USER2)** with **[^/]+** for storage available to all users
+  * **~ ^/data/[^/]+/files/LOCAL-MOUNT-NAME/(.+)$** ~ a local external storage mount available to all users
 
 How to check if it's working?
 -----------------------------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list