Nextcloud + nginx proxy manager can't connect from ios

Hi,
I just set up Nextcloud 20 behind a nginx proxy manager and I can connect to it from my pc and my android phone just fine but when I try it with any of my ios 14 devices I always get an “connection timed out” error. I added the “trusted_proxies” parameter in the config.php but it didn’t work. When I publish the VM directly without the proxy I can access it from ios, just not behind the proxy…

Has anyone here had the same issue?

edit: I’ve tried chrome, safari and the nextcloud app. Nothing seems to work.

1 Like

okay I fixed it by adding the following parameter to the npm advanced config:

proxy_hide_header Upgrade;

3 Likes

Same problem here. And same solution as well.
adding “proxy_hide_header Upgrade;” solves iOS 14.x access.

iOS 13.x did not have this problem.

1 Like

Hi,
I guess the problem is back! now Dec. 2023 I receive messages from friends that their upload get broken at about 1/4 of it.
I do have this in my Advance config:

proxy_hide_header Upgrade;
rewrite ^/\.well-known/carddav https://$server_name/remote.php/dav/ redirect;
rewrite ^/\.well-known/caldav https://$server_name/remote.php/dav/ redirect;

no problem with android or a linux lalptop
Anyone else with similar issue again?