Summary of what worked for me from my thread, WSGI Mode Setup Question
My setup: Debian 8, Nginx, MySQL, standard ports, 80 rewrite to 443
After upgrading to 6.2.5 in order to get WSGI to work I had to use the following in the nginx config.
Updated proxy_set_header Host $host; to proxy_set_header Host $host:$server_port;
.+ I needed the following line added…
proxy_set_header X-Forwarded-Proto https;
In my seahub_settings.py:
SITE_BASE = ‘https://xxx.xxxxxx.net’ , (Use your domain name.)
File_Server_Root = ‘https://xxx.xxxxxx.net/seafhttp’ , (Use your domain name)
I also upgraded nginx from 1.6 to 1.10.3 using the jesse backports. Note: Keep your config files when prompted.
Then did the normal troubleshooting restart of everything…
Shut down Seahub and Seafile
Cleared Seahub Cache
Cleared Browser Cache
Service Nginx Stop and then Start
Started Seafile and Seahub
For me it worked. YMMV some do not need the ->>> proxy_set_header X-Forwarded-Proto https;
In my case I did.