Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes

Nginx proxy timeout while uploading big files

Probably nginx upstream timeout needs to be increased. Try adding below to your upstream conf. proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; ...
Prabuddha Chakraborty's user avatar
6 votes
Accepted

How do I upload to S3 server from EC2 with low cost?

You may want to consider that S3 is not the right solution for you. Those files must be uploaded individually to S3, so there's no way around the costs you're experiencing. You can consider one of ...
EEAA's user avatar
  • 110k
5 votes

Nginx client_max_body_size per location block (with php frontcontroller pattern)

If /admin/upload path is virtual, it is possible to make it work as follows: location / { try_files $uri /index.php?$args; } location /admin/upload { client_max_body_size 256M; include ...
yanot's user avatar
  • 151
5 votes

Nginx simple PUT file

You can do this by specifying filename into URL, without using any external module : location ~ "/upl/([0-9a-zA-Z-.]*)$" { alias /storage/www/upl/$1; ...
Clément Mondon's user avatar
4 votes

How to upload a directory recursively to an FTP server by just using ftp or lftp?

cd {local_dir} lftp {server} cd {remote_dir} mput {local_dir}/* This worked for me, many other attempts were failing. Once in lftp, more info available via: help mput
austin's user avatar
  • 141
4 votes
Accepted

IIS randomly returns 413 Request Entity Too Large when uploading large files and using TLS

Got a similar error on IIS Express with Visual Studio 2017 and it actually was uploadReadAheadSize. Error: HTTP Error 413.0 - Request Entity Too Large The page was not displayed because the ...
Ogglas's user avatar
  • 354
3 votes

File is uploaded to my server by someone

You are probably using a vulnerable application (maybe an old version of Wordpress, old themes, outdated plugins..., just guessing) and someone is using such a vulnerability to upload promiscuous ...
Marco's user avatar
  • 1,729
3 votes

How to upload an mbox file to an IMAP server

It is a two-step procedure: Import the mbox file into a local email folder Then move (or copy) the newly imported emails to the imap folder In my case I used Mozilla Thunderbird with the already ...
Will's user avatar
  • 131
3 votes
Accepted

Nextcloud 14 does not upload files bigger than 1MB

The problem was the reverse proxy. In the http block was another client_max_body_size set to 1m. Setting it to 0 solved it. Found the solution here: https://serverfault.com/a/401732/393856
user393856's user avatar
3 votes
Accepted

Upload speed to Google Cloud machine is 1.1Gbps

https://cloud.google.com/blog/products/gcp/5-steps-to-better-gcp-network-performance?hl=ml Outbound or egress traffic from a virtual machine is subject to maximum network egress throughput caps. ...
ceejayoz's user avatar
  • 33.1k
3 votes
Accepted

What is the best way to transfer 4tb image from windows to centos?

Assuming you have network access between both machines, use RSYNC. There is a version for Windows as well.
ETL's user avatar
  • 6,623
3 votes
Accepted

EC2 upload speed drastically drops for a single scp process

I suspect your EBS Burst Balance has run out. That blog link gives you instructions on how to show your EBS volume burst credits. The volume types page has a little information on EBS and bursting. ...
Tim's user avatar
  • 33k
3 votes

Error uploading large files (>2gb) through nginx reverse proxy to container

Simple answer: proxy_request_buffering off; fixes your issue because that is the only option that is relevant to uploads (requests). All the other options apply only to downloads to the client (...
nh2's user avatar
  • 908
2 votes

Nginx client_max_body_size per location block (with php frontcontroller pattern)

Using multiple locations is possible, but is a bit tricky. If you use try_files or rewrite as explained above, then the client_max_body_size would be set to the client_max_body_size of the higher ...
zed's user avatar
  • 262
2 votes

How to set default umask for Tomcat webdav servlet?

You can create an environment file for tomcat: In /usr/shared/tomcat8/binwhere 8 is your appropriate tomcat version, create setenv.sh file containing: #!/bin/bash umask 0002
Tommi's user avatar
  • 21
2 votes

How do I install automake and autoconf on RedHat Enterprise 5?

These RHEL repositories can be installed using yum utility. A good feature is to enable another repository from your own DVD installation disc. A complete step-by-step description can be found here. ...
Yagaba's user avatar
  • 21
2 votes

Large file uploads to S3 - concern to server?

Well, practically speaking, your server has a finite amount of resources available to it, and these uploads will compete for resources with the rest of the items in your server's workload. Whether or ...
EEAA's user avatar
  • 110k
2 votes

Diagnose TCP slow upload using WireShark

The only parameter you could witness with Wireshark that could explain a speed drop would be packets MTU being too high and leading to fragmentation, here's a well written post on how to detect such a ...
iMil's user avatar
  • 251
2 votes

parse-server upload size limit , more than 100MB?

As you mentioned you use parse-server-example. So you will open index.js and in this code var api = new ParseServer({ databaseURI: databaseUri || 'mongodb://localhost:27017/dev', cloud: process....
Konstantinos Natsios's user avatar
2 votes

Nginx failed space when upload

For me this issue is solved by pointing the temp body store to a file location with enough space. client_body_temp_path /spool/nginx/client_temp 1 2; See more about client_body_temp_path in ...
AMvdW's user avatar
  • 21
2 votes

nginx upload progress return me always same size and recived

I ran into this issue, and have created a pull request to restore the functionality of the nginx-upload-progress module with HTTP/2 https://github.com/masterzen/nginx-upload-progress-module/pull/57 ...
Allan Jude's user avatar
  • 1,316
2 votes
Accepted

How to split a large .tar.gz on a Windows machine to upload on a Linux server?

Use a client that can resume such as WinSCP. Or BitTorrent on a private tracker. Bonus: built in verification of all the chunks. If you still would like multi part archives, there are multiple tools ...
John Mahowald's user avatar
2 votes

How do I set my nginx perms to allow for multipart form submissions?

you can see /var/lib/nginx/tmp is owned by user 755. Probably you had used the wrong command: chown instead of chmod. To fix this: chmod 755 /var/lib/nginx/tmp chown rails /var/lib/nginx/tmp
Sunny Chawla's user avatar
2 votes
Accepted

How do I set my nginx perms to allow for multipart form submissions?

You're running nginx as the user named rails (which is unusual). But one of your directories, /var/lib/nginx/tmp, is owned by the nonexistent user 755. The usual reason this happens is mistakenly ...
Michael Hampton's user avatar
2 votes

SFTP/SCP slow uploads in Windows, Fast in Linux

Have you tried disabling the "Optimize connection buffer size" in the connection options of WinSCP? This is being posted as solution to problem in transfer speed all over the place, namely in WinSCP ...
Manuel Borges's user avatar
2 votes

Wireguard slow but only for windows upload

The experimental kernel driver they added in the 0.4.8 release broke the windows upload speed. Just run an older version until they fix it. https://download.wireguard.com/windows-client/wireguard-...
Ethan Scully's user avatar
1 vote
Accepted

Barracuda 340 upload ssl license automatically

I see this is an old question, but I am adding this answer for anyone else who is looking for information about how to use the REST API to upload certificates to a Barracuda Load Balancer ADC. To ...
user5870571's user avatar
  • 3,164
1 vote

Encrypting files from an upload directory

For this, I'd consider using something like Hashicorp's Vault. It can both manage keys as well as provide encryption and decryption as a service. This means that none of your users (or file servers) ...
EEAA's user avatar
  • 110k
1 vote
Accepted

Is it possible to upload files directly to Amazon S3 and edit them?

My understanding of your solution leads me to think that you wish to use the same ubuntu server you already have to also perform the transcoding of your uploaded media files. The problem is objects ...
Xavier Hutchinson's user avatar
1 vote

nginx upload progress return me always same size and recived

I cant comment on previous answer I have same problem location ^~ /upload/progress { upload_progress_json_output; report_uploads uploadtracker; } location / { uwsgi_pass core; ...
user2056721's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible