ПРОЕКТЫ 


  АРХИВ 


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[4]: perl и server_name



Здравствуйте, Igor.

Можно генерировать конфиг веб-сервера, просто перечисляя все алиасы.
Монструозный перечень, зато просто и работает.

Вы писали Friday, October 05, 2007, 4:47:54 PM:

> Hello jackal,

> Friday, October 5, 2007, 4:39:15 PM, you wrote:

>> Еще вот такое решение пришло в голову:

>> perl_set $nx_perl module::handler;
>> server {
>>         server_name srv *;
>>         set $nx $nx_perl;
>>         if ($nx ~ "^http://";) {
>>                 proxy_pass $nx;
>>         }
>>         root $nx;
>> }

>> Можно в proxy_pass переменные юзать?

> пока нельзя. в рассылке об этом сказанно.

> ---------------------------------
> Igor V. Savchenko

> http://webta.net

> mailto: igor@xxxxxxxxx
> ICQ: 86915046




-- 
С уважением,
 andrey                          mailto:andrey@xxxxxxxxxxxxxxxxxxxxxxxxx




 




Copyright © Lexa Software, 1996-2009.