From 3a7c9a89df504f89defe1b46ad7b5c7ed06559d8 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 25 Feb 2024 03:12:39 +0100 Subject: [PATCH] Update README.md --- examples/seafile/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/examples/seafile/README.md b/examples/seafile/README.md index 358016b..2009164 100644 --- a/examples/seafile/README.md +++ b/examples/seafile/README.md @@ -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