I have Syncthing running behind an nginx reverse proxy. If I access the web ui via the reverse proxy, the API Key always just shows a “-” but if I access the web ui directly, I can see the correct API Key. Is that a bug or a feature? If so, can I still show the API Key somehow when using a reverse proxy?
Hmm in the config result I can see the correct api key. When loading the page, I get the following error when connecting via reverse proxy:
TypeError: Cannot read property 'user' of undefined
at refreshNoAuthWarning (syncthingController.js:442)
at syncthingController.js:423
at angular.js:9452
at processQueue (angular.js:13337)
at angular.js:13353
at Scope.$eval (angular.js:14589)
at Scope.$digest (angular.js:14405)
at Scope.$apply (angular.js:14694)
at angular.js:14984
at completeOutstandingRequest (angular.js:4959)
I just saw that the error also happens when connecting without reverse proxy, but in that case, the api key is still filled. So this is something else.