You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have NPM running in a Docker container. I have two separate NPM Proxy Hosts for two different file servers which are installed on Windows Server 2022. I'm using two different IP addresses and both servers listen on port 80 (HTTP). All larger uploads (+90MB) fail for both file servers. If I remove NPM, all direct uploads to either file server are successful no matter the size (>10GB).
I have tried adding proxy_request_buffering off; under custom location / and I tried it under the Advanced tab of each NPM Proxy Host. I have also tried adding every manner of settings that I've found on the Internet but nothing works. What am I missing? Is there something else in the NPM container that needs to be changed?
UPDATE:
Adding the two options below to the / location (Custom locations tab) of each NPM Proxy Host seems to resolve the issue:
proxy_buffering off;
client_max_body_size 0;
One of the file servers worked without adding client_max_body_size 0; to its NPM Proxy Host but 2GB and larger uploads would immediately fail on the other server without the client_max_body_size 0; option so I added it to both NPM Proxy Hosts.
Not sure if this is the only/best solution but it works. If anyone has a better solution, please feel free to chime in.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have NPM running in a Docker container. I have two separate NPM Proxy Hosts for two different file servers which are installed on Windows Server 2022. I'm using two different IP addresses and both servers listen on port 80 (HTTP). All larger uploads (+90MB) fail for both file servers. If I remove NPM, all direct uploads to either file server are successful no matter the size (>10GB).
I have tried adding
proxy_request_buffering off;
under custom location/
and I tried it under the Advanced tab of each NPM Proxy Host. I have also tried adding every manner of settings that I've found on the Internet but nothing works. What am I missing? Is there something else in the NPM container that needs to be changed?UPDATE:
Adding the two options below to the
/
location (Custom locations tab) of each NPM Proxy Host seems to resolve the issue:One of the file servers worked without adding
client_max_body_size 0;
to its NPM Proxy Host but 2GB and larger uploads would immediately fail on the other server without theclient_max_body_size 0;
option so I added it to both NPM Proxy Hosts.Not sure if this is the only/best solution but it works. If anyone has a better solution, please feel free to chime in.
Beta Was this translation helpful? Give feedback.
All reactions