Csrf - Seafile behind NginX

792 views
Skip to first unread message

Ch3ll

unread,
Feb 26, 2014, 6:31:47 AM2/26/14
to sea...@googlegroups.com

Hi,

I have a self-hosted seafile-server (on ubuntu) behind nginx. I am able to access the main-page (/acounts/login). After I have logged in I get the message "Forbidden (403): CSRF verification failed. Request aborted.". On the other hand, I am able to access the /webdav domain. Although I have some experience with NginX, I'm quite sure I did something wrong shifting the ports due to some other applications (I attached my seafile configuration of nginx. (Seahub: 16000, Seafile-WebDav: 17000, SeafileHttp: 14082), I changed the config files to match the altered ports aswell).

My start commands for seafile are:
./seafile start
./seahub start-fastcgi 16000

Regards,
Ch3ll




ccnet.conf
seafdav.conf
seafile.conf
seafile_nginx.conf
seahub_settings.py

Ch3ll

unread,
Mar 13, 2014, 7:27:09 AM3/13/14
to sea...@googlegroups.com
Update: Found the issue :/. I managed to type CONTENT_LENGHT instead of CONTENT_LENGTH in the nginx.conf file.

Lingtao Pan

unread,
Mar 13, 2014, 8:00:45 AM3/13/14
to sea...@googlegroups.com
:)
Reply all
Reply to author
Forward
0 new messages