I’m running seafile Pro 7.0.13 using the docker containers and have been trying to move my Nginx reverse proxy to a separate container. I forwarded the ports in docker (8000, 8080, 8082) and can access it directly. However, when I try to access it via the proxy, the web page comes is a reduced/graphic less version.
I have tried to login, which seems to accept my credentials but the page then comes up blank. The interesting thing is that my clients (iOS, Android, SeaDrive) are working just fine.
My nginx.config looks like the following. Note: My redirect from 80 and my certs are configured in a different config file.
I’m not sure what else to do at this point. I have come across the following:
However, I am unsure if this is still relevant since this was for 6.4.3 where I am running 7.0.13. In fact, it references file, url.py, which I don’t seem to have.
Can anyone point me in the right direction?
Thanks
Ray
Has the new nginx proxy access to this directory? If you seperate the nginx from the docker container away it is clear why it is not working. Your nginx in the new container cant access the media files, e.g. javascript, css etc.
Spot on! I had copied and pasted the nginx config from the seafile server and didn’t even think about the media folder being there. Confirmed the issue with 404 errors in the browser.
Removed those lines and all is working! Thanks so much!
Good news, I solved my problem.
it’s true that my nginx config is fine. But I have to change something in seafile docker.
in seahub_settings_file, i have changed something like:
FILE_SERVER_ROOT = “https://your_domain_here”
HTTP_SERVER_ROOT = “https://your_domain_here”
and then it works.
But one thing i dont understand: what is webdav? I saw its config, but i dont know what it is?
Webdav is an extension to the http protocol that allows you to create, move, edit files, delete or copy files and folders. There are plenty of websites that can explain it’s functionality better than I. For example: http://www.webdav.org
It is if you wish to edit within the browser. For example, using Onlyoffice.