Re:

Denis F. Latypoff latypoff yandex.ru
26 13:33:15 UTC 2011


26.12.2011, 20:26, "Ilya Lobahin" <i.lobahin at nikitaonline.ru>:
> , .
>
>    php.        IP    .
>
>  :
> ------------------------------------------
> root /var/www/site/htdocs/;
> index index.php index.html;

    ?

> location /(path1|path2)/ {

   -    , 
  
http://nginx.org/ru/docs/http/ngx_http_core_module.html#location

> allow 1.1.1.1;
> deny all
> }
> location ~ \.php$ {
> include /etc/nginx/fastcgi.conf;
> }
> ------------------------------------------
>   site/path1 .
>
>    :
> ---------------------------
> root /var/www/site/htdocs/;
> index index.php index.html;
> location /path1/ {
> allow 1.1.1.1;
> deny all
> }
> location /path2/ {
> allow 1.1.1.1;
> deny all
> }
> location ~ \.php$ {
> include /etc/nginx/fastcgi.conf;
> }
> ---------------------------
>      .
>
>   ?
>
> --
>  ,
>  
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

-- 
br, Denis F. Latypoff.



nginx-ru