<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/3 Anton Kiryushkin <span dir="ltr"><<a href="mailto:swood@fotofor.biz" target="_blank">swood@fotofor.biz</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">  nginx  windows.  ,    .      , , ,  - .</div><div class="gmail_extra"><br></div></blockquote><div><br>
</div>
<div>       .</div><div><br></div><div>          .   stub_status  .</div><div><br>
</div>
<div>:</div><div><br></div><div><div><br></div><div>#user nobody;</div><div>worker_processes 1;</div><div><br></div><div>error_log logs/error.log;</div><div><br></div><div>events {</div><div>  worker_connections 1024;</div>

<div>}</div><div><br></div><div><br></div><div>http {</div><div>  include    mime.types;</div><div>  default_type application/octet-stream;</div><div><span class="" style="white-space:pre">       </span>client_max_body_size 20m; #   </div>

<div><br></div><div>  log_format main '$remote_addr - $remote_user [$time_local] "$request" '</div><div>           '$status $body_bytes_sent "$http_referer" '</div><div>
           '"$http_user_agent" "$http_x_forwarded_for"';</div>
<div><br></div><div>  access_log off;</div><div><br></div><div> </div><div><span class="" style="white-space:pre">    </span>msie_padding          on;</div><div>    ignore_invalid_headers on;</div><div>
<br>
</div><div>    gzip              on;</div><div>    gzip_static           on;</div><div>    gzip_vary            on;</div><div>    gzip_min_length     2048;</div><div>

    gzip_comp_level     1;</div><div>    gzip_buffers          16 8k;</div><div>    gzip_types           text/plain text/css text/xml text/javascript application/x-javascript;</div><div>

<br></div><div>    directio            4m;</div><div>    sendfile            on;</div><div>    sendfile_max_chunk       256k;</div><div>    tcp_nopush           on;</div>

<div>    tcp_nodelay           on;</div><div>    reset_timedout_connection    on;</div><div><br></div><div>    output_buffers     16 512k;</div><div>    postpone_output     1460;</div>

<div><br></div><div>    keepalive_timeout        30 15;</div><div>    server_name_in_redirect off;</div><div><span class="" style="white-space:pre">           </span></div><div><span class="" style="white-space:pre">           </span>proxy_connect_timeout<span class="" style="white-space:pre">     </span>120s;</div>

<div><span class="" style="white-space:pre">            </span>proxy_http_version<span class="" style="white-space:pre">        </span>1.1;</div><div><span class="" style="white-space:pre">               </span>proxy_ignore_client_abort off;</div><div>

<span class="" style="white-space:pre">               </span>proxy_read_timeout<span class="" style="white-space:pre">        </span>120s;</div><div><span class="" style="white-space:pre">              </span>proxy_send_timeout<span class="" style="white-space:pre">        </span>120s;</div>

<div><br></div><div>    server_tokens          off;</div><div>  include conf.d/*.conf;</div><div>}</div></div><div><br></div><div><div>server {</div><div>  listen    80;</div><div>  server_name <a href="http://example.com">example.com</a>;</div>

<div><span class="" style="white-space:pre">    </span>error_log logs/error.log;</div><div><span class="" style="white-space:pre">  </span>access_log off;</div><div><br></div><div><span class="" style="white-space:pre">   </span>root some_path;</div>

<div><span class="" style="white-space:pre">    </span>index index.php;</div><div><span class="" style="white-space:pre">   </span></div><div><span class="" style="white-space:pre">   </span>proxy_intercept_errors on;</div><div>

<span class="" style="white-space:pre">       </span>error_page  500 502 503 504 /503.html;</div><div><span class="" style="white-space:pre">    </span></div><div><span class="" style="white-space:pre">   </span>location =/503.html {</div>

<div>  }</div><div><span class="" style="white-space:pre">        </span>location / {</div><div><span class="" style="white-space:pre">               </span>try_files $uri @apache;<span class="" style="white-space:pre">   </span></div><div>
<span class="" style="white-space:pre">       </span>}</div>
<div><br></div><div><span class="" style="white-space:pre">   </span>location @apache {</div><div><span class="" style="white-space:pre">         </span>proxy_pass <a href="http://backend_babypages">http://backend_babypages</a>;</div>

<div><span class="" style="white-space:pre">            </span>proxy_set_header Host $host;</div><div><span class="" style="white-space:pre">               </span>proxy_set_header http_referer $http_referer;</div><div><span class="" style="white-space:pre">               </span>proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;</div>

<div><span class="" style="white-space:pre">    </span>}</div><div><span class="" style="white-space:pre">  </span></div><div><span class="" style="white-space:pre">   </span>location =/nginx_status {</div><div><span class="" style="white-space:pre">          </span>stub_status on;</div>

<div><span class="" style="white-space:pre">            </span>allow 86.62.121.100;</div><div><span class="" style="white-space:pre">               </span>allow 109.252.246.98;</div><div><span class="" style="white-space:pre">              </span>deny all;</div>

<div><span class="" style="white-space:pre">    </span>}</div><div><br></div><div><span class="" style="white-space:pre"> </span>location ~* \.php$ {</div><div><span class="" style="white-space:pre">               </span>proxy_pass <a href="http://backend_babypages">http://backend_babypages</a>;</div>

<div><span class="" style="white-space:pre">            </span>proxy_set_header Host $host;</div><div><span class="" style="white-space:pre">               </span>proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;</div><div><span class="" style="white-space:pre">                </span>proxy_set_header http_referer $http_referer;</div>

<div><span class="" style="white-space:pre">    </span>}</div><div><br></div><div>}</div></div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="gmail_extra"><br><div class="gmail_quote">2013/11/3 Aleksandr Sytar <span dir="ltr"><<a href="mailto:sytar.alex@gmail.com" target="_blank">sytar.alex@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>    :</div>

<div><br></div>2013/11/03 17:24:54 [emerg] 4532#1564: *1875523 malloc(270336) failed (8: Not enough storage is available to process this command) while sending to client, client: 5.10.83.57, server: ___.ru, request: "GET /6032/33621/ HTTP/1.1", upstream: "<a href="http://127.0.0.1:8081/6032/33621/" target="_blank">http://127.0.0.1:8081/6032/33621/</a>", host: "____.ru"<div>




<br><div><div><br></div><div>Microsoft Windows [Version 5.2.3790]<br></div><div>(C) Copyright 1985-2003 Microsoft Corp.</div><div><br></div><div>c:\nginx>nginx -V</div><div>nginx version: nginx/1.4.2</div><div>TLS SNI support enabled</div>




<div>configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug --prefix= -</div><div>-conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access</div><div>.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-te</div>




<div>mp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fast</div><div>cgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsg</div><div>i-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs.msv</div>




<div>c8/lib/pcre-8.32 --with-zlib=objs.msvc8/lib/zlib-1.2.8 --with-select_module --wi</div><div>th-http_realip_module --with-http_addition_module --with-http_sub_module --with-</div><div>http_dav_module --with-http_stub_status_module --with-http_flv_module --with-htt</div>




<div>p_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-htt</div><div>p_random_index_module --with-http_secure_link_module --with-mail --with-openssl=</div><div>objs.msvc8/lib/openssl-1.0.1e --with-openssl-opt=enable-tlsext --with-http_ssl_m</div>




<div>odule --with-mail_ssl_module --with-ipv6</div><div><br></div><div><br></div><div>        ?</div><div><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org" target="_blank">nginx-ru@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a><span class=""><font color="#888888"><br></font></span></blockquote></div><span class=""><font color="#888888"><br>

<br clear="all"><div><br></div>-- <br><div>Best regards,</div>
Anton Kiryushkin<br>
</font></span></div>
<br>_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a><br></blockquote></div><br></div></div>