I have Syncthing set up on a server with the web UI accessible behind a reverse proxy. I have noticed that if I load the settings modal, most of the text boxes do not populate.
Here is a screenshot of what I mean:
Relevant part of config:
ProxyPreserveHost On
ProxyRequests Off
RequestHeader set X-Forwarded-Port 443
RequestHeader set X-Forwarded-Proto https
Redirect permanent "/syncthing" "/syncthing/"
<Location "/syncthing/">
ProxyPass http://localhost:8384/
ProxyPassReverse http://localhost:8384/
# Basic authentication of "admin:admin" so Syncthing will stop nagging
RequestHeader set Authorization "Basic YWRtaW46YWRtaW4="
</Location>
I have tried it with and without setting the authorization header from apache, so I know that is not the cause. (Don’t worry, I have my own authentication on top of this)
The only errors I have in the JS console is an error accessing the URL
https://example.com/syncthing/rest/system/upgrade
but I do not believe that is affecting this issue.
Any ideas on what I should try?