# Nextcloud + nginx proxy manager can't connect from ios

**URL:** <https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861>\
**Category:** ℹ️ Support\
**Created:** [October 21, 2020, 8:08pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861 "2020-10-21T20:08:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schlass1](https://help.nextcloud.com/user_avatar/help.nextcloud.com/schlass1/32/30297_2.png) [@Schlass1](https://help.nextcloud.com/u/Schlass1)\
**Post date:** [October 21, 2020, 8:08pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861/1 "2020-10-21T20:08:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Schlass1](https://help.nextcloud.com/user_avatar/help.nextcloud.com/schlass1/32/30297_2.png) [@Schlass1](https://help.nextcloud.com/u/Schlass1)\
**Post date:** [October 21, 2020, 8:31pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861/2 "2020-10-21T20:31:11Z")

</div>

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

proxy\_hide\_header Upgrade;

---

<div class="post-metadata">

**Author:** ![Enrique](https://help.nextcloud.com/user_avatar/help.nextcloud.com/enrique/32/30346_2.png) [@Enrique](https://help.nextcloud.com/u/Enrique)\
**Post date:** [October 22, 2020, 7:39pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861/3 "2020-10-22T19:39:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kattivius](https://help.nextcloud.com/user_avatar/help.nextcloud.com/kattivius/32/8824_2.png) [@kattivius](https://help.nextcloud.com/u/kattivius)\
**Post date:** [December 16, 2023, 9:25pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861/4 "2023-12-16T21:25:14Z")

</div>

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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 1:38pm UTC](https://help.nextcloud.com/t/nextcloud-nginx-proxy-manager-cant-connect-from-ios/95861/5 "2024-09-23T13:38:47Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
