Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem: query get too long time.



On Wed, Apr 18, 2007 at 12:07:33PM +0400, Andrey wrote:

>   ,   http://andrey:8080/test_test 
>  .
> 
>      .

> user  nginx;
> worker_processes  1;
> 
> error_log  /var/log/nginx/error_test.log debug;
> 
> 
> pid        /var/run/nginx_test.pid;
> 
> events {
>     worker_connections  1024;
> }
> 
> 
> http {
>     access_log /var/log/nginx/access_test.log;
>     include       /usr/local/etc/nginx/mime.types;
>     default_type  application/octet-stream;
> 
>     sendfile        on;
>     keepalive_timeout  65;
>     
>     charset  utf-8;
>     source_charset utf-8;
>     override_charset off;
> 
>     server {
>         listen       192.168.0.20:8080;
>         server_name  andrey;
> 
>         location / {
>             root   /srv/www/vhosts/andrey;
>           autoindex  on;
>         }
>       
>       location /test_test {
>           perl '
>               sub {
>                   my $r = shift;

+                   $r->send_http_header;

>                   $r->print( "hello" );
>                   return OK;
>               }
>           ';
>       }
>     }    
> }


-- 
 
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.