<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
ОС: Windows<br>
Конфиг:<br>
<blockquote><small><font face="Arial">worker_processes  1;</font></small><br>
  <small><font face="Arial"></font></small><small><font face="Arial">error_log 
logs/error.log;</font></small><br>
  <small><font face="Arial"></font></small><br>
  <small><font face="Arial">events {</font></small><br>
  <small><font face="Arial">    accept_mutex  off;</font></small><br>
  <small><font face="Arial">    }</font></small><br>
  <br>
  <small><font face="Arial">http {</font></small><br>
  <small><font face="Arial">    include       mime.types;</font></small><br>
  <small><font face="Arial">    default_type  application/octet-stream;</font></small><br>
  <br>
  <small><font face="Arial">    log_format main '$remote_addr -
$remote_user [$time_local] $request '</font></small><br>
  <small><font face="Arial">        '"$status" $body_bytes_sent
"$http_referer" '</font></small><br>
  <small><font face="Arial">        '"$http_user_agent"
"$http_x_forwarded_for"';</font></small><br>
  <br>
  <small><font face="Arial">    sendfile        on;</font></small><br>
  <small><font face="Arial">    keepalive_timeout 3;</font></small><br>
  <br>
  <small><font face="Arial">    gzip  on;</font></small><br>
  <small><font face="Arial">    gzip_min_length 1100;</font></small><br>
  <small><font face="Arial">    gzip_buffers 64 8k;</font></small><br>
  <small><font face="Arial">    gzip_comp_level 3;</font></small><br>
  <small><font face="Arial">    gzip_http_version 1.1;</font></small><br>
  <small><font face="Arial">    gzip_proxied any;</font></small><br>
  <small><font face="Arial">    gzip_types text/plain application/xml
application/x-javascript text/css;</font></small><br>
  <br>
  <small><font face="Arial">    server {</font></small><br>
  <small><font face="Arial">        listen       80;</font></small><br>
  <small><font face="Arial">        server_name  21region.org
<a class="moz-txt-link-abbreviated" href="http://www.21region.org">www.21region.org</a>;</font></small><br>
  <small><font face="Arial">        access_log  logs/access_server.log;</font></small><br>
  <small><font face="Arial">        error_log  logs/error_server.log;</font></small><br>
  <br>
  <small><font face="Arial">        error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/403.html">http://21region.org/error/403.html</a>;</font></small><br>
  <small><font face="Arial">        error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <br>
  <small><font face="Arial">        # Защита изображений
========================</font></small><br>
  <br>
  <small><font face="Arial">        location ~
\.(bmp|jpg|jpeg|gif|png)$ {</font></small><br>
  <small><font face="Arial">            root html/htdocs;</font></small><br>
  <small><font face="Arial">            access_log   off;</font></small><br>
  <small><font face="Arial">            expires      30d;</font></small><br>
  <small><font face="Arial">            valid_referers none blocked
server_names forum.21region.org foto.21region.org ~\.google\.
images.yandex.ru doskapozora.ru;</font></small><br>
  <small><font face="Arial">            if ($invalid_referer) {</font></small><br>
  <small><font face="Arial">                rewrite ^ /hotlinkers.png
last;</font></small><br>
  <small><font face="Arial">            }</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location = /hotlinkers.png {</font></small><br>
  <small><font face="Arial">            root html/htdocs;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        # Обновления
============================</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /avp/ {</font></small><br>
  <small><font face="Arial">            alias html/as/avp/;</font></small><br>
  <small><font face="Arial">            #access_log  logs/antivirus.log;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/a403.html">http://21region.org/error/a403.html</a>;</font></small><br>
  <small><font face="Arial">            allow 91.197.172.0/22;</font></small><br>
  <small><font face="Arial">            allow 95.81.192.0/19;</font></small><br>
  <small><font face="Arial">            allow 89.151.128.0/18;</font></small><br>
  <small><font face="Arial">            allow 79.133.128.0/19;</font></small><br>
  <small><font face="Arial">            allow 10.0.0.0/8;</font></small><br>
  <small><font face="Arial">            allow 172.20.0.0/14;</font></small><br>
  <small><font face="Arial">            allow 172.96.0.0/12;</font></small><br>
  <small><font face="Arial">            allow 192.168.0.0/16;</font></small><br>
  <small><font face="Arial">            allow 91.192.112.0/22;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /drweb/ {</font></small><br>
  <small><font face="Arial">            alias html/as/drweb/;</font></small><br>
  <small><font face="Arial"></font></small><small><font face="Arial">   
        access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/a403.html">http://21region.org/error/a403.html</a>;</font></small><br>
  <small><font face="Arial">            allow 91.197.172.0/22;</font></small><br>
  <small><font face="Arial">            allow 95.81.192.0/19;</font></small><br>
  <small><font face="Arial">            allow 89.151.128.0/18;</font></small><br>
  <small><font face="Arial">            allow 79.133.128.0/19;</font></small><br>
  <small><font face="Arial">            allow 10.0.0.0/8;</font></small><br>
  <small><font face="Arial">            allow 172.20.0.0/14;</font></small><br>
  <small><font face="Arial">            allow 172.96.0.0/12;</font></small><br>
  <small><font face="Arial">            allow 192.168.0.0/16;</font></small><br>
  <small><font face="Arial">            allow 91.192.112.0/22;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /nod/ {</font></small><br>
  <small><font face="Arial">            alias html/as/nod/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/a403.html">http://21region.org/error/a403.html</a>;</font></small><br>
  <small><font face="Arial">            allow 91.197.172.0/22;</font></small><br>
  <small><font face="Arial">            allow 95.81.192.0/19;</font></small><br>
  <small><font face="Arial">            allow 89.151.128.0/18;</font></small><br>
  <small><font face="Arial">            allow 79.133.128.0/19;</font></small><br>
  <small><font face="Arial">            allow 10.0.0.0/8;</font></small><br>
  <small><font face="Arial">            allow 172.20.0.0/14;</font></small><br>
  <small><font face="Arial">            allow 172.96.0.0/12;</font></small><br>
  <small><font face="Arial">            allow 192.168.0.0/16;</font></small><br>
  <small><font face="Arial">            allow 91.192.112.0/22;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /nod32_3/ {</font></small><br>
  <small><font face="Arial">            alias html/as/nod32_3/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/a403.html">http://21region.org/error/a403.html</a>;</font></small><br>
  <small><font face="Arial">            allow 91.197.172.0/22;</font></small><br>
  <small><font face="Arial">            allow 95.81.192.0/19;</font></small><br>
  <small><font face="Arial">            allow 89.151.128.0/18;</font></small><br>
  <small><font face="Arial">            allow 79.133.128.0/19;</font></small><br>
  <small><font face="Arial">            allow 10.0.0.0/8;</font></small><br>
  <small><font face="Arial">            allow 172.20.0.0/14;</font></small><br>
  <small><font face="Arial">            allow 172.96.0.0/12;</font></small><br>
  <small><font face="Arial">            allow 192.168.0.0/16;</font></small><br>
  <small><font face="Arial">            allow 91.192.112.0/22;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /nod32/ {</font></small><br>
  <small><font face="Arial">            alias html/as/nod32/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            index nod27.html;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/403.html">http://21region.org/error/403.html</a>;</font></small><br>
  <small><font face="Arial">            error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/nod32/nod27.html">http://21region.org/nod32/nod27.html</a>;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        # Обновления конец
=======================</font></small><br>
  <br>
  <small><font face="Arial">        # Алиасы
=================================</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /userbars/ {</font></small><br>
  <small><font face="Arial">            alias html/as/userbars/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/403.html">http://21region.org/error/403.html</a>;</font></small><br>
  <small><font face="Arial">            error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /winners/ {</font></small><br>
  <small><font face="Arial">            alias html/site/winners/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/403.html">http://21region.org/error/403.html</a>;</font></small><br>
  <small><font face="Arial">            error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ^~ /history/ {</font></small><br>
  <small><font face="Arial">            alias html/site/history/;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/403.html">http://21region.org/error/403.html</a>;</font></small><br>
  <small><font face="Arial">            error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        location ~
^/phpmyadmin/.*\.(png|js|jpg)$ {</font></small><br>
  <small><font face="Arial">            root html/as;</font></small><br>
  <small><font face="Arial">            error_page   403         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <small><font face="Arial">            error_page   404         
<a class="moz-txt-link-freetext" href="http://21region.org/error/404.html">http://21region.org/error/404.html</a>;</font></small><br>
  <small><font face="Arial">            access_log 
logs/access_phpmyadmin.log;</font></small><br>
  <small><font face="Arial">            error_log 
logs/error_phpmyadmin.log;</font></small><br>
  <small><font face="Arial">            allow 79.133.128.0/19;</font></small><br>
  <small><font face="Arial">            allow 95.81.192.0/19;</font></small><br>
  <small><font face="Arial">            allow 195.122.224.0/19;</font></small><br>
  <small><font face="Arial">            allow 172.101.12.18;</font></small><br>
  <small><font face="Arial">            allow 10.50.16.54;</font></small><br>
  <small><font face="Arial">            allow 172.106.0.245;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">        }</font></small><br>
  <br>
  <small><font face="Arial">        # Алиасы конец
==========================</font></small><br>
  <br>
  <small><font face="Arial">        location / {</font></small><br>
  <small><font face="Arial">            root  html/htdocs;</font></small><br>
  <small><font face="Arial">            index  index.php;</font></small><br>
  <br>
  <small><font face="Arial">            client_max_body_size  200M;</font></small><br>
  <small><font face="Arial">            client_body_buffer_size    16k;</font></small><br>
  <br>
  <small><font face="Arial">            proxy_pass <a class="moz-txt-link-freetext" href="http://127.0.0.1:81">http://127.0.0.1:81</a>;</font></small><br>
  <small><font face="Arial">            proxy_set_header Host $host;</font></small><br>
  <small><font face="Arial">            proxy_set_header X-Real-IP
$remote_addr;</font></small><br>
  <small><font face="Arial">            proxy_set_header
X-Forwarded-For $proxy_add_x_forwarded_for;</font></small><br>
  <br>
  <small><font face="Arial">            deny 87.118.86.0/23;</font></small><br>
  <small><font face="Arial">            deny 217.20.116.0/24;</font></small><br>
  <small><font face="Arial">            deny 172.101.30.21;</font></small><br>
  <small><font face="Arial">            deny 172.101.30.253;</font></small><br>
  <small><font face="Arial">            deny 172.101.30.41;</font></small><br>
  <small><font face="Arial">            deny 172.20.5.176;</font></small><br>
  <small><font face="Arial">            deny 172.21.6.200;</font></small><br>
  <br>
  <small><font face="Arial">            }</font></small><br>
  <br>
  <small><font face="Arial">        location  ~*
\.(ico|js|css|txt|swf|flv|mp3|aac|mp4|wmv|avi|mpg|mpeg|mov)$ {</font></small><br>
  <small><font face="Arial">            root  html/htdocs;</font></small><br>
  <small><font face="Arial">            access_log   off;</font></small><br>
  <small><font face="Arial">            expires      30d;</font></small><br>
  <small><font face="Arial">            }</font></small><br>
  <small><font face="Arial">        </font></small><br>
  <small><font face="Arial">        location  ~*
\.(doc|pdf|rtf|xls|zip|rar|exe|7z|msi|gz|bz2|iso)$ {</font></small><br>
  <small><font face="Arial">            root  html/htdocs;</font></small><br>
  <small><font face="Arial">            access_log 
logs/access_download.log;</font></small><br>
  <small><font face="Arial">            expires      30d;</font></small><br>
  <small><font face="Arial">            }</font></small><br>
  <br>
  <small><font face="Arial">        # Статистика
============================</font></small><br>
  <small><font face="Arial">        location = /stat {</font></small><br>
  <small><font face="Arial">            stub_status on;</font></small><br>
  <small><font face="Arial">            access_log  off;</font></small><br>
  <small><font face="Arial">            allow all;</font></small><br>
  <small><font face="Arial">            deny all;</font></small><br>
  <small><font face="Arial">          }</font></small><br>
  <small><font face="Arial">        # Статистика конец
=======================</font></small><br>
  <br>
  <small><font face="Arial">        }<br>
  <br>
  </font></small><br>
Проблемма в том, что время от времени сайт перестает реагировать на
запросы.<br>
Если запросить статистику, параметр Writing показывает примерно 245-250.<br>
Через некоторое время параметр уменьшается, и сервер начинает принимать
запросы.<br>
Можно ли как то увеличить этот параметр?<br>
Спасибо.<br>
</blockquote>
</body>
</html>