Run Seafile v12 reliably on a custom port without bypassing caddy

First, you should ensure sdoc-server is accessible through the browser. You can check this by visiting https://your-sdoc-server-domain/sdoc-server/ in your browser. If you see “Welcome to sdoc-server,” then sdoc-server is successfully accessible via the browser.

Secondly, you should verify that the sdoc-server can access the Seafile server through its external domain name. You can review the error logs in the sdoc-server.log and sdoc-access.log files located in the /opt/seadoc-data/logs/ folder.

Finally, modify the configuration provided earlier, ensuring that you do not modify any other configurations.

When using HTTPS, it is important to ensure that the CA is trusted by your Docker server.