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: nginx /images



 !

-         location ~
\/(catalog|map|about|howto|delivery|garantiya|contacts|order|captchaim|notfound)
{
+        location ~
^\/(catalog|map|about|howto|delivery|garantiya|contacts|order|captchaim|notfound)
{

  ,     (  - /catalog)  
   (    ,  
  ).

12  2009 . 11:43  Greg <nginx-forum@xxxxxxxx> :
>  !
>        ,      
>     nginx'.
>   nginx        .
>  :
>
> server {
>    listen  1.2.3.4:80;
>    server_name mysite.su;
>
>    access_log /var/log/nginx/mysite.access.log;
>
>    location / {
>        root  /var/www/mysite.su;
>        index index.html index.htm index.php;
>    }
>
>    location ~ \.php$ {
>        proxy_pass  http://127.0.0.1;
>        proxy_set_header Host mysite.su;
>    }
>
>    location /server-status {
>      proxy_pass  http://127.0.0.1;
>    }
>
>    location ~ 
> \/(catalog|map|about|howto|delivery|garantiya|contacts|order|captchaim|notfound)
>  {
>        proxy_pass  http://127.0.0.1;
>        proxy_set_header Host mysite.su;
>    }
>
> }
>
>
>  ,      server-status   ,  
>  ,    php-    (   
>  )    GET /images/common/left_container/catalog/str.gif 
>   127.0.0.1 (   nginx).
>
>     ,  nginx     ,   
>   .
>   . .
>
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,22300,22300#msg-22300
>
>
>



-- 
 ,  .
icq 77556665
e-mail boris@xxxxxxxxxxx


 




Copyright © Lexa Software, 1996-2009.