Update README.md

This commit is contained in:
LRVT 2024-02-25 03:12:39 +01:00 committed by GitHub
parent 70346a7238
commit 3a7c9a89df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,15 @@
# References
- https://github.com/haiwen/seafile-docker
# Notes
If you run seafile behind a SSL/TLS reverse proxy with HTTPS, you will likely see a `CSRF verification failed` error message during login.
Try adding your domain to the corresponding Django setting inside the Docker bind mount location `/mnt/docker-volumes/seafile/data/seafile/conf/seahub_settings.py`:
````
CSRF_TRUSTED_ORIGINS = ["https://seafile.example.com"]
````
See https://github.com/haiwen/seafile/issues/2707#issuecomment-1732493096