WebDAV Setup
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.
What is 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.
Requirements
- A server that supports WebDAV (Nginx, Apache, Nextcloud, ownCloud, etc.)
- Server URL and credentials (username/password)
- HTTPS connection (recommended for security)
Step-by-Step Setup
Open CopySync Settings
On Mac, right-click the CopySync icon in the menu bar and select "Settings".
Enable WebDAV
Check the "Enable WebDAV Sync" option.
Enter Server Details
Fill in the following details:
https://your-server.com/webdav/copysync/
your_username
your_password
Test Connection
Click "Test Connection". If you see a success message, you're ready!
Save
Click "Save". CopySync will now sync with your WebDAV server.
Setting up WebDAV with Nginx
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
Using with Nextcloud
Nextcloud already supports WebDAV. URL format:
https://your-nextcloud.com/remote.php/dav/files/USERNAME/CopySync/
Using with pCloud
pCloud WebDAV URL format (for European region):
https://ewebdav.pcloud.com/
Using with Yandex Disk
Yandex Disk WebDAV URL format:
https://webdav.yandex.com.tr/
⚠️ Security Tip: We recommend creating an app password for WebDAV. Avoid using your main account password.