English Forums > Web Proxy Filtering and Caching

NGINX Reverse Proxy - Upload performance [Nextcloud]

(1/2) > >>

rene_:
Hello everyone,

i am currently trying to setup a nextcloud behind the Nginx reverse proxy of opnsense.

So far so good, i set everything up, the rewrites are working, SSL is working, and i can access the cloud from lan and wan.

But when i upload a file to my cloud, its not faster then about 1MB/s (over lan).

On the cloud vm i can see, that there is no continuously incoming traffic (from the firewall), mor there are peaks at about 90mbit/s ever 2-3 seconds.

What could that be?

Already tried allot of settings in the nginx configs.

Currenlty enabled http2 on both sides, and sendfile in the nginx global settings and the vhost.

Kind regards,
René

rene_:
Update:

i disabled Response/Request Buffering in the Location, now i have continuously 10MBit traffic load on the cloud vm.


By the way, its a gigabit network, iperf test was around 890MBit in both directions

GreenMatter:
Hi,

Could you share your settings? I'm trying to achieve similar thing but the only thing I get is "Request Denied". I've added trusted_proxies variable (https://docs.nextcloud.com/server/15/admin_manual/configuration_server/reverse_proxy_configuration.html) in nextcloud config but I'm lost when it comes to Nginx settings in OPNsense. All tutorials keep showing text config with options unavailable (?) in Nginx GUI...
BTW, I'm in process of migrating from Unifi USG 4Pro to OPNsense running as VM on ESXi host. So far so good, but I'm running into problems with Nginx...

GreenMatter:
I don't want to hijack this thread but I'm doing it  ;D
Can anybody help me to configure Nginx reverse proxy for nextcloud...? Plizzz

rene_:
Sorry, didnt looked here for a while.

I will post everything tomorrow :-)

Navigation

[0] Message Index

[#] Next page

Go to full version