How do I connect my iOS nextcloud app to my local nextcloud server running on a rasberry pi at

Typing in my browser of a pc works, but typing that in the ‘login url’ on the iphone gets ‘An SSL error has occured…’.

Note: Nextcloud is running in a docker

Any pointers? Thanks!