My setup consists of a main-server (running Ubuntu, with NGINX) where port 443 for all services (seafile, wiki …) is forwarded to, and a new 2nd (internal) server (Raspberry) which runs Docker-Seafile on port 8090.
https → Router -->port 443–> main Server -->port 8090–> 2nd Server (Docker-Seafile)
To access seafile via hxxps://seafile.myurl.com I have setup a reverse proxy on the main-server which forwards the traffic to the 2nd-server (I did not touch the nginx-config inside docker).
It works fine accessing hxxps://seafile.myurl.com for login, seeing the libraries and downloading, but fails when I try to upload files with a ‘network error’. (Uploading directly from the 2nd server works).
The Docker-Seafile Nginx-configuration includes also locations like seafhttp, seafdav, and media - and after reading tens of posts and attempts I was unable to include these in my reverse-proxy on the main-server.
It should be as simple as
location /seafhttp {
proxy_pass http://local_Ip:8090/seafhttp;
}
but it does not work …
Maybe someone can help
Thanks!