Welcome! Log In Create A New Profile

Advanced

Re[2]: NXWEB и nginx

Михаил Монашёв
December 02, 2011 07:44AM
Здравствуйте, Yaroslav.

Попробуйте вот такой конфиг тестов по отдаче простой строчки. Он без
тюнинга под Вашу операционку, но возможно подойдёт:

timer_resolution 100ms;

worker_processes 4;

error_log /opt/log/nginx/error.log;

pid /var/run/nginx.pid;

events {
# use epoll;
worker_connections 16384;
}


http {
access_log off;

sendfile on;
tcp_nopush on;
# aio sendfile;
# read_ahead 256k;
tcp_nodelay on;
send_lowat 12000;

postpone_output 1460;
keepalive_timeout 75 60;

reset_timedout_connection on;


types {
text/html html;
}
default_type text/html;

server {
listen 1.2.3.4:80 default accept_filter=httpready rcvbuf=4096 sndbuf=131072 backlog=4096;
server_name site.ru;

return 200 "<p>Hello, world!</p>";
}
}

Подкорректируйте, если что-то неверно.


--
С уважением,
Михаил mailto:postmaster@softsearch.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

NXWEB и nginx

Михаил Монашёв December 02, 2011 05:22AM

Re: NXWEB и nginx

Валентин Бартенев December 02, 2011 05:28AM

Re: NXWEB и nginx

Igor Sysoev December 02, 2011 05:30AM

Re[2]: NXWEB и nginx

Михаил Монашёв December 03, 2011 11:50AM

Re: Re[2]: NXWEB и nginx

Alexandr Gomoliako December 03, 2011 12:04PM

Re[4]: NXWEB и nginx

Михаил Монашёв December 03, 2011 01:20PM

Re: Re[2]: NXWEB и nginx

Valery Kholodkov December 04, 2011 05:48AM

Re: NXWEB и nginx

Andrey N. Oktyabrski December 04, 2011 06:24AM

Re: NXWEB и nginx

Valery Kholodkov December 04, 2011 08:50AM

Re: NXWEB и nginx

Andrey N. Oktyabrski December 04, 2011 12:52PM

Re[4]: NXWEB и nginx

Михаил Монашёв December 04, 2011 08:54AM

Re: Re[4]: NXWEB и nginx

Valery Kholodkov December 04, 2011 09:32AM

Re[6]: NXWEB и nginx

Михаил Монашёв December 04, 2011 09:44AM

Re: Re[6]: NXWEB и nginx

Valery Kholodkov December 04, 2011 11:40AM

Re: Re[6]: NXWEB и nginx

Alexandr Gomoliako December 04, 2011 11:48AM

Re[8]: NXWEB и nginx

Михаил Монашёв December 04, 2011 03:58PM

Re: NXWEB и nginx

Yaroslav December 04, 2011 04:20PM

Re: NXWEB и nginx

Denis F. Latypoff December 04, 2011 09:42AM

Re: NXWEB и nginx

Igor Sysoev December 05, 2011 04:16AM

Re: NXWEB и nginx

Yaroslav December 05, 2011 02:34PM

Re: NXWEB и nginx

Yaroslav December 05, 2011 03:52PM

Re: NXWEB и nginx

Oleksandr V. Typlyns'kyi December 05, 2011 03:58PM

Re: NXWEB и nginx

Alexandr Gomoliako December 05, 2011 04:02PM

Re: NXWEB и nginx

Yaroslav December 05, 2011 04:28PM

Re: NXWEB и nginx

Denis F. Latypoff December 05, 2011 08:04PM

Re: NXWEB и nginx

Yaroslav December 05, 2011 08:12PM

Re: NXWEB и nginx

Denis F. Latypoff December 05, 2011 08:24PM

Re: NXWEB и nginx

Alexandr Gomoliako December 05, 2011 08:42PM

Re: NXWEB и nginx

Yaroslav December 02, 2011 05:58AM

Re[2]: NXWEB и nginx

Михаил Монашёв December 02, 2011 07:24AM

Re[2]: NXWEB и nginx

Михаил Монашёв December 02, 2011 07:44AM

Re[2]: NXWEB nginx

Andrey Repin December 02, 2011 08:52AM

Re: Re[2]: NXWEB É nginx

Rush December 03, 2011 05:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
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