Config nginx for slow connection to avoide corrupted doanlowds

Posted by user1850273 on Server Fault See other posts from Server Fault or by user1850273
Published on 2012-11-24T22:30:08Z Indexed on 2012/11/26 17:07 UTC
Read the original article Hit count: 171

Filed under:

We have a Windows 2003 server that nginx 1.3.8 is running.

Our problem is users with slow connction about 10K . Our server is serving our program update files and when they download from our server the downloade file is incompleted or crrupted. (Users can not download file with DL manager and the problem is in IE ) for example in slow connection a file with 25mb , after 2Mb downloaded finish . in high speed connections there is no problem.

Also when we redirect these slow connection to other port F.e 50005 with the same config they download will be much better but not good as other servers.

Which config we must apply to avoide such these download stops or corrupted downloads in slow connection ?

this is our server config :

worker_processes 1;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent '
'"$http_user_agent"';

access_log logs/access.log main;

sendfile off;
keepalive_timeout 60;

server {
listen 80;
server_name localhost;

location / {
root html;
deny 127.0.0.3;
index index.html index.htm;
}

}
server_tokens off;
}

Our server use Htaccess password accounting and we can not use IIS on windows , Which soloution you think is better ?

IIS with a extention to use apache htaccess ?

Or use apache for windows insted of nginx ?

Thank You.

© Server Fault or respective owner

Related posts about nginx