Welcome! Log In Create A New Profile

Advanced

Slow downloads using nginx on local network

Posted by 744687 
Slow downloads using nginx on local network
August 15, 2010 03:22PM
Hello,
As the topic title would suggest I am having some problems with my speeds on my local network, when i try to download a file i get something like 400kb/sec, both when i use the internal address and the external, compared to the 6-12 MB/sec i get when I am on my usual web server/network, I am still pretty clueless when it comes to web servers, so any help would be appreciated.

So anyways, heres my conf file
[code]
worker_processes 1;

events {
worker_connections 1024;
}


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

sendfile on;

keepalive_timeout 5;

server {
listen 80 default;
autoindex on;
server_name domain1.com *.domain1.com;
server_name_in_redirect off;
#access_log logs/domain1.access.log main;


location / {
root W:\websites\domain1.com\www;
index index.html index.htm;
}

location /ext {
alias Z:\ext;
auth_basic "Restricted";
auth_basic_user_file htpasswd;
}

location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}


error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}


server {
listen 80;
server_name domain2.com *.domain2.com;
#access_log logs/domain2.access.log main;

location / {
root W:\websites\domain2.com\www;
index index.html index.htm;
}


location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}

server {
listen 80;
server_name domain3.com *.domain3.com;
#access_log logs/domain3.access.log main;

location / {
root W:\websites\domain3.com\www;
index index.html index.htm;
}


location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}

}
[/code]

I usually use the web server for sharing my external hard drive from my server, aswell as hosting some sites.

And even if the web server is sending outside of the internal network even when i access 192.168.0.100 (internal server adress) instead of domain1.com, i should get more then 400 kb/sec, esp considering im like 25 mb up and 100 down.

So, if anyone has any theories, I'd love to hear it.

Sincerely,
J.w
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready