Syncthing Setup
I am currently using syncthing for my music to be synced across devices.
Installation
Install the Syncthing package from upstream repositories.
Reverse proxy setup [Ref]
Example syncthing reverse proxy setup.
sync.joshuayun.com {
handle_path /* {
reverse_proxy http://localhost:8384 {
header_up Host {upstream_hostport}
}
}
}
Optional: Add a htpasswd to block unauthorized access to the syncthing.
Syncthing system service [Ref]
Enable the syncthing user service.
systemctl enable syncthing@myuser.service
systemctl start syncthing@myuser.service
Syncthing configuration
Done all through the gui. It is recommended to setup a user login, especially if you are making a syncthing that is exposed to the open internet.