I’ve installed Seafile on my raspberry pi. I have defined an A record on cloudflare (which has strict SSL) to point to my RPi. And I’ve got “Nginx Proxy Manager” docker container on the Pi to serve as reverse proxy.
I can access the GUI via my domain but when I try uploading files the transfer fails at the very end. My hunch is that this happens because I’m missing some settings that Nginx Proxy Manager defaults don’t provide. I don’t have access to the actual nginx config files but Proxy Manager does have an advanced tab where you can enter extra configuration. I was wondering if anyone has managed to successfully configure proxy manager with seafile?
Initially I had the wrong URLs in SERVICE_URL and FILE_SERVER_ROOT and uploads didn’t even begin but now they fail at the end.
Thank you for this config, it worked fine for my old Seafile Server installation on WIndows. However I’m moving to Ubuntu server with Docker, at the moment I’m unable to upload files on Seahub, it is stuck in the beginning:
I’ve configured the SERVICE_URL and FILE_SERVER_ROOT similar like my old installation like this:
If you’re using docker there’s probably another nginx proxy already running inside the container anyway. So my guess is that you don’t need to define a “custom location” in your nginx proxy manager. However, you probably do have to add that extra port in the “advanced” tab of your proxy manager.
Here’s my nginx config that’s running in a container for an actual nginx conf (and not through the proxy manager gui):
Got it working after removing the “custom location” in Nginx Proxy Manager. Didn’t need no additional config in the advanced tab. Everything seems to work: uploading from Seahub, Windows client, Android app, …
I’ve tried both solutions, the “custom locations” and the “Advanced”, but does not works. It is weird, because I can access files when not in the local network, but I cannot upload or download files. No errors that I can find. This is my config in NPM: