WebDAV mounts a remote folder like a drive (Windows/macOS/Linux clients). Nginx is quick; for a full personal cloud use Nextcloud.
Steps
Install Nginx and auth tools:
sudo apt updatesudo apt install -y nginx apache2-utilsCreate the folder and an htpasswd user:
sudo mkdir -p /var/www/webdav && sudo chown www-data:www-data /var/www/webdavsudo htpasswd -c /etc/nginx/webdav.passwd usernameAdd a server block with
dav_methods PUT DELETE MKCOL COPY MOVE;,dav_ext_methods PROPFIND OPTIONS;, basic auth and root/var/www/webdav. Then reload:sudo nginx -tsudo systemctl reload nginxTest with a WebDAV client or curl (adjust domain/IP):
curl -u username:PASSWORD -X PROPFIND https://YOUR_DOMAIN/
Tips
- Enable HTTPS (Certbot) before real use — WebDAV moves credentials and files.
- For multi-device sync and a UI, Nextcloud is usually nicer.
ext step
Storage on a VPS with a fixed IP: Deploy your Cloud VPS.