This is an old revision of the document!
File Server
Access to a common area and user-specific private areas.
Access must be both from web page (HTTP/S) and from WebDAV.
filebrowser is used for web based access from browser
nginx is used as WebDAV server.
Background
From users point of view, the common area will be managed by user filebrowser which is designed to run as group users with an umask 550 so that any files uploaded via web browser will be accessible to the normal users.
Of course, each user will need to be part of the users group as well.
You will need a common “archive” folder under /deposito/archive to store some needed stuff. This folder will need to contain:
- common subfolder, where the common area files will be stored (created in the filebrowser instructions)
- temp subfolder, required by WebDAV to upload files
- conf subfolder, where you will store custom NGINX config files for the private areas (and common area too)
NGINX WebDAV approach
No need to use third party WebDAV server since NGINX has a pretty solid implementation of it already. Follow the nginx instructions to set NGINX up with WebDAV and PAM auth support.