Learn how to use CopySync with your own WebDAV server.
💡 WebDAV is a protocol for sharing files over the web. Many servers and NAS devices support WebDAV.
WebDAV (Web Distributed Authoring and Versioning) is a file sharing standard built on top of HTTP. CopySync stores your clipboard history as a JSON file on the WebDAV server and syncs it across all your devices.
On Mac, right-click the CopySync icon in the menu bar and select "Settings".
Check the "Enable WebDAV Sync" option.
Fill in the following details:
https://your-server.com/webdav/copysync/
your_username
your_password
Click "Test Connection". If you see a success message, you're ready!
Click "Save". CopySync will now sync with your WebDAV server.
If you want to set up WebDAV with Nginx on your own server:
# /etc/nginx/sites-available/webdav
server {
listen 443 ssl;
server_name your-server.com;
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/key.pem;
location /webdav/ {
alias /var/www/webdav/;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
dav_access user:rw group:rw all:r;
create_full_put_path on;
auth_basic "CopySync WebDAV";
auth_basic_user_file /etc/nginx/.htpasswd;
}
}
To create a user:
sudo htpasswd -c /etc/nginx/.htpasswd your_username
Nextcloud already supports WebDAV. URL format:
https://your-nextcloud.com/remote.php/dav/files/USERNAME/CopySync/
⚠️ Security Tip: We recommend creating an app password for WebDAV. Avoid using your main account password.