18.10.2024, this is about file backup.
. This worked well, but you need to trigger it on demand.
config (keep standard)
vi /home/markus.ebel/.config/syncthing/config.xml
Add Reverse Proxy
for Apache
> a2enmod proxy_http headers
add to /etc/apache2/sites-enabled/000-default-le-ssl.conf inside your default <VirtualHost>
<Location /syncthing/>
ProxyPass http://localhost:8384/
ProxyPassReverse http://localhost:8384/
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
Require all granted
</Location>
commands
sudo systemctl enable syncthing@markus.ebel.service sudo systemctl start syncthing@markus.ebel.service sudo systemctl restart syncthing@markus.ebel.service
https://www.inetone.de/syncthing/
(trailing slash is mandatory!)