Welcome! Log In Create A New Profile

Advanced

Slow File Transfers

Posted by jrs358 
Slow File Transfers
June 25, 2022 10:55AM
Hello all,

I'm trying to set up Nginx as the web server for a personal cloud on a machine running Debian 10, but cannot seem to get download speeds of more than 4MB/sec when I am connected to the server via gigabit ethernet.

To isolate Nginx as the issue I have created a very simple static site containing only an arbitrary 2GB file. When I try to download this file through the site I get around 4MB/sec, but when I download it via SFTP under identical conditions I hit over 100MB/sec, so I'm pretty certain the issue is with Nginx and not my network configuration. My Nginx configuration is shown below for reference but there's not much to see really.

Does anyone have any suggestions?
Many thanks,

Site config file:
server {
listen 80;
server_name *********;
autoindex on;
root /home/********/web;
}


nginx.conf (http block only):
http {

##
# Basic Settings
##

sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;

# server_names_hash_bucket_size 64;
# server_name_in_redirect off;

include /etc/nginx/mime.types;
default_type application/octet-stream;

##
# SSL Settings
##

ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;

##
# Logging Settings
##

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

##
# Gzip Settings
##

# gzip on;

# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

##
# Virtual Host Configs
##

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready