# NC 20 with Nginx Proxy Manager - "Failed - Network Error" on Download

**URL:** <https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791>\
**Category:** ℹ️ Support\
**Tags:** reverseproxy, nc20, nginx\
**Created:** [October 21, 2020, 9:15am UTC](https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791 "2020-10-21T09:15:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alderson59](https://help.nextcloud.com/user_avatar/help.nextcloud.com/alderson59/32/30270_2.png) [@alderson59](https://help.nextcloud.com/u/alderson59)\
**Post date:** [October 21, 2020, 9:15am UTC](https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791/1 "2020-10-21T09:15:08Z")

</div>

Hi, I run NC 20 via the latest docker image (nextcloud:latest - which means it uses an apache webserver). I use jc21/nginx-proxy-manager to reverse proxy from my public domain to the NC container.

A google search led me to this post, which solved the problem for OP, but seems like it doesn’t work for me.

> **[r/unRAID - NGINX Proxy manager and Nextcloud large file downloading](https://www.reddit.com/r/unRAID/comments/ezw5jo/nginx_proxy_manager_and_nextcloud_large_file/)**
>
> 4 votes and 7 comments so far on Reddit

I note this documentation page which mentions setting proxy\_buffering off, but since I don’t use the nginx as a webserver, only a proxy, how can I set this at the apache level in the NC container? Also this seems to be for uploading, not downloading.

> **[Uploading big files \> 512MB — Nextcloud latest Administration Manual...](https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/big_file_upload_configuration.html?highlight=big%20files)**

I’ve added “trusted\_proxies” in config.php. Added the custom location as per the reddit post. Anything else I’m missing?

It seems every file I download over 1 GB comes up with the “Failed - Network Error” problem each time I try to download it. I’d prefer the files to be served directly thru the proxy without caching at the proxy host. What can I do here?

---

<div class="post-metadata">

**Author:** ![mrzt](https://help.nextcloud.com/letter_avatar/mrzt/32/6_449c533f586939b6e5f246632a46421f.png) [@mrzt](https://help.nextcloud.com/u/mrzt)\
**Post date:** [November 27, 2020, 12:16am UTC](https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791/2 "2020-11-27T00:16:45Z")

</div>

I am having similar issues around nextcloud sitting behind any kind of reverse proxy. I would be interested in how to fix this also.

I must admin Nginx proxy manager is just brilliant and have several wordpress containers running behind it with no issues at all.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:11pm UTC](https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791/3 "2024-12-12T19:11:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:11pm UTC](https://help.nextcloud.com/t/nc-20-with-nginx-proxy-manager-failed-network-error-on-download/95791/4 "2024-12-12T19:11:42Z")

</div>


