I have what I think is a very surprising problem. So that I can have continous automatic sync of my files on my Android phone, I have enabled WebDav on my Seafile container and I have that exposed by a reverse proxy handled by Nginx Proxy Manager and Cloudflare.
I understand that using a reverse proxy with Seafile is non-trivial but I beleive because I see that most of my files sync fine I have probably got the proxy setup correct. I am happy to post my Seafile seafdav.conf contents and the configuration details I have in Nginx Proxy Manager if that could be the issue.
As I say, this largely works but my WebDav clients (I have tried Folder Sync an MiXplorer) are unable to download image (and only image) files from the WebDav server. The issue seems to be related to the file extension rather than the contents of the file. Indeed if I create a 75KB text file, it syncs fine. If I then copy that file but use the file extension of .PNG or .JPG the same file will then fail to download on the WebDav client. One of the clients gives me enough information to suggest that the WebDav service is returning an HTTP 502 Bad Gateway.
I understand that an HTTP 502 can be indicitive of a misconfigured proxy but in my case I can’t see how I can have an HTTP 502 only for files with the extension of .JPG or .PNG, whereas other files seem to sync just fine - even if the image files that fail have identical binary content to other files that succeed, they just have a different file extension.
Can anyone shed any light on this please?