Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

proxy_pass for large number of connections

$
0
0
Hello, can someone to help me for config file to use for large number of connections ?

I use nginx only for proxy_pass but I see problem with upload and send data to users ( on error log there is nothing )

Can anyone give me recommendation how to set up nginx.conf ?

here is my config line :

user www-data;
worker_processes auto;
worker_rlimit_nofile 8192;

events {
worker_connections 2048;
}

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

sendfile on;

server {
listen 8080;
server_name localhost;

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

location /someurl{
more_set_headers 'Content-Type: application/octet-stream';
proxy_max_temp_file_size 0;
auth_basic "Enter your login details !";
auth_basic_user_file c:/users.txt;
proxy_pass http://127.0.0.1:9090;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>