I have tried my darndest, but I am unable to figure out the correct setup for Android transfers to not “Upload Failed” when behind a reverse proxy. I had it working prior to the proxy. Any help would be much appreciated.
I am behind an nginx reverse proxy setup in OPNsense, that creates an endpoint at https://files.example.com which points to upstream nas.subdomain.example.com:8000. Everything works fine besides the Android client.
In docker-compose, I commented out the environment variable:
because nginx alone takes care of https, is this correct?
Also in docker-compose I set the hostname to the new nginx endpoint:
Is this correct?
In the seafile admin web ui under “Settings”, I set the “URL” section to the nginx endpoint:
Both urls are
httpseven though the upstream is
http, is this correct?
In the android client, I setup the account using the nginx endpoint with https:
https://files.example.com, is this correct? Or should I set it up with the upstream address without https:
seafile.conf looks like this:
ccnet.conf looks like this:
seahub_settings.py looks like this:
gunicorn.conf.py looks like this:
I can post logs as well, let me know. Would be grateful for any guidance.