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

Step-by-Step Setup

1

Open CopySync Settings

On Mac, right-click the CopySync icon in the menu bar and select "Settings".

2

Enable WebDAV

Check the "Enable WebDAV Sync" option.

3

Enter Server Details

Fill in the following details:

WebDAV URL
https://your-server.com/webdav/copysync/
Username
your_username
Password
your_password
4

Test Connection

Click "Test Connection". If you see a success message, you're ready!

5

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/

⚠️ Security Tip: We recommend creating an app password for WebDAV. Avoid using your main account password.

← Quick Start Synology NAS →