Closed irstevenson closed 7 years ago
I'm having a similar issue where I am now redirected to:
https://censored/accounts/login/?next=/seafile
Instead of:
https://censored/seafile/accounts/login/?next=/seafile
Hi, I have the same problem, seahub seemingly appends the new URL to the current path. E.g.:
<a href="/seafile/seafile/home/wiki/">...</a>
Even the login captcha has wrong URL:
https://mydomain.com/seafile/accounts/login/seafile/captcha/image/CENSORED_CAPTCHA_ID/
I discovered the cause of this problem: the include fastcgi_params
line.
Replace it with manual fastcgi_param
list like in the manual page and it will work.
It seems there's something seahub doesn't like in that file...
L.E. / idea: you should add a warning in the manual not to do this. For engineers that try to prematurely optimize for code / configuration file size, like us ;)
Wow! Thanks @niflostancu , that has indeed sorted my issues. I wasted so much time on this. :(
Oh well, it's looking ship shape now. Thanks!
I have seafile 6.0.4 setup behind NGINX with HTTPS as a non-root setup as per:
Everything basically works - especially with the desktop client - however I have some issues with the Web UI with links that seems to have
SITE_ROOT
doubled. For example, when I first attempt to access my site by going tohttps://censored/seafile/
I get redirected to the login page but at the following URL (note thenext
param):So if I login successfully with that page, I get a message saying the page could not be found as I've arrived at:
If I manually chop that down to
Then everything works as expected. Except for:
https://censored/seafile/seafile/download_client_program/
System Admin
up on the top right profile drop down points tohttps://censored/seafile/seafile/sysadmin/
https://censored/seafile/sysadmin/seafile/sys/settings/
AFAIK they're the only links with issues - everything else works. And from the fact it's like that, I've pretty well ruled out an issue with NGINX config.
I've also
rm -rf /tmp/seahub_cache
but with no joy.Below are my configuration files. I hope you can help.
seahub_settings.py
seafile.conf
ccnet.conf
NGINX site config