From 8cb4eb28a2aaa8f8bffcc280dc70b85546df1104 Mon Sep 17 00:00:00 2001 From: joshua Date: Sun, 31 Dec 2023 00:00:47 -0500 Subject: Added syncthing to wiki --- site/server/syncthing/index.html | 674 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 674 insertions(+) create mode 100644 site/server/syncthing/index.html (limited to 'site/server/syncthing/index.html') diff --git a/site/server/syncthing/index.html b/site/server/syncthing/index.html new file mode 100644 index 0000000..edbd05c --- /dev/null +++ b/site/server/syncthing/index.html @@ -0,0 +1,674 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Syncthing - Joshua's Wiki + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

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.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file -- cgit v1.2.3