Is there a good way to use the Web interface with Apache any ProxyPass?
I already have a fairly well set up infrastructure with a whole bunch of services well accessable from a single port.
When I load the web page with this config, I get the Syncthing symbol in the tab, but a white background. I do seem to get the page source as I should. So maybe some scripting doesn’t like the proxy? Any ideas?
i’m doing this with a .htacces file placed in the folder syncthing of the www-root
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteRule ^(.*) http://localhost:8080/$1 [P] #replace 8080 if you have another port
That issue was closed by making it unnecessary. All links in syncthing are relative, so there is no need for syncthing to know which URL it’s being served on. Hence the rewrite etc above works out of the box.