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: ?



10  2011. 19:54   <test157@xxxxxxxx> :
>  
>
> server {
>  listen 127.0.0.1:80;
>
>  server_name server;
>  root /home/www;
>
>  location / {
>    if (-f $request_filename) {
>      break;
>    }
>
>    uwsgi_pass 127.0.0.1:8080;
>    include   uwsgi_params;
>  }
> }
>
>
>        - request filename
> ,      uwsgi_pass
>
      :

location / {
  try_files $uri @uwsgi;
}

location @uwsgi {
   uwsgi_pass 127.0.0.1:8080;
 include uwsgi_params;
}

  ,    if

-- 
Have a nice day
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.