It seems that the guide might not cover everything needed for a fully functional setup on the internet. Have you ensured that the SERVICE_URL and FILE_SERVER_ROOT variables in your seahub_settings.py are set to use HTTPS? This is crucial for proper operation when accessing Seafile over the internet. If these are already set correctly, there might be additional configurations needed, especially regarding the Cloudflare Tunnel setup and ensuring all necessary headers and security settings are in place.
Additionally, during the installation of the Seafile container, make sure to set the following environment variables in your Docker configuration to ensure proper operation behind a proxy:
SEAFILE_SERVER_LETSENCRYPT=false
SEAFILE_SERVER_HOSTNAME=seafile.domain.com
FORCE_HTTPS_IN_CONF=true
Also, ensure that you have added the following line in your seahub_settings.py file, including the square brackets:
CSRF_TRUSTED_ORIGINS = ["https://seafile.domain.com"]
To better assist you, could you please provide the complete content of your seahub_settings.py file? This will help us ensure that all necessary configurations are in place and correctly set up. Thank you!