Re: PHP try_files

Denis F. Latypoff latypoff yandex.ru
23 10:39:54 UTC 2011


23.11.2011, 17:29, "Serguei I. Ivantsov" <manowar at gsc-game.kiev.ua>:
>     :)      root-!
>  ݣ ,       () 
>    ̣ .   ,  
>  location-    proxy*  
> location-,   .php?

   - .
nginx    ,     ,
      ?

>
> --
> Regards,
> Serguei I. Ivantsov
>
> On 23.11.2011 12:23,  'Rush'  wrote:
>
>> root     ,     
>> http -      ,    .  
>> include        :)
>>
>> 23  2011 . 13:59  Serguei I. Ivantsov
>> <manowar at gsc-game.kiev.ua> :
>>>   ! root    location-... !  
>>> nginx     location-, - 
>>> -  .
>>>
>>> On 23.11.2011 11:57,  'Rush'  wrote:
>>>>  root   ?
>>>>
>>>> 23  2011 . 13:12  Serguei I. Ivantsov
>>>> <manowar at gsc-game.kiev.ua> :
>>>>> !
>>>>>
>>>>>   .    ,    .  ޣ
>>>>> ?
>>>>>> location ~ \.php$ {
>>>>>> try_files $uri @fnotfound;
>>>>>> proxy_pass http://127.0.0.1:3128;
>>>>>> proxy_set_header Host $host;
>>>>>> proxy_set_header X-Forwarded-For
>>>>>> $proxy_add_x_forwarded_for;
>>>>>> }
>>>>>>
>>>>>> location @fnotfound {
>>>>>> return 410;
>>>>>> }
>>>>> --
>>>>> Regards,
>>>>> Serguei I. Ivantsov
>>>>>
>>>>> _______________________________________________
>>>>> nginx-ru mailing list
>>>>> nginx-ru at nginx.org
>>>>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>> _______________________________________________
>>> nginx-ru mailing list
>>> nginx-ru at nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

-- 
br, Denis F. Latypoff.



nginx-ru