There are some interesting things here but nothing that is specifically “Seafile”. Sorry, I’m still at a loss.
I found a couple previous posts that might help: “Looking for help with Nginx Proxy Manager” and “'Nginx Proxy Manager’ causing failure when uploading files”.
I suspect some of the authors of the two posts have a solution in hand.
I added the custom location in the second link you sent me and it seemed to be working… It got to 1.5GB, but then got stuck again in the same way as before, with a request to /api2/repos. I have no idea what’s wrong, my NGINX config has everything the manual says it needs. I can try to do it without NGINX, but that is non-trivial since I have my certificates there and everything…
Thank you! I added this:
proxy_set_header Host $host;
proxy_set_header Forwarded "for=$remote_addr;proto=$scheme";
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Connection "";
To my custom config. No ice. It still got stuck. This time at 1.7GB. I really don’t know how to fix this. I don’t even know if this is an nginx problem. It always gets stuck when it makes calls to /api2/repos. They return 200, so they should be fine… Why does it make those calls? What’s the purpose? Why could it fail there?