iOS APP reverse proxy

Hi everyone, i recently set up my nextcloud to run with a nginx reverse proxy. mynas.com/nextcloud is accessible but when i try to add the server to my iOS app, it says it cannot connect to the server… Any idea?