Paul

Seafile with SSL on a non standard port

I setup Seafile a few months ago with the default setup to test it out. I finally decided to setup SSL to secure the connection (especially on my phone and tablets).

I followed the guide at Deploy with Apache but while it worked fine with the desktop client, the web upload and Android app did not work (Download failed).

The issue was that I have another Apache server using the default ssl port (443) so I was portforwarding 8000 to 443 for the second server (https://seafile.example.com:8000 -> https://internal_seafile_ip:443).

I needed to change the seahub_settings.py file from

FILE_SERVER_ROOT = 'https://seafile.example.com/seafhttp'

to

FILE_SERVER_ROOT = 'https://seafile.example.com:8000/seafhttp'

After that just restart seahub and it should work on the web and on Android.

Leave a Reply

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close