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: Re[2]:



... 

2007/9/19, Igor Askarov <juks@xxxxxxx>:


. , .



>

http://sysoev.ru/nginx/docs/http/ngx_http_proxy_module.html



19.09.07, Igor Askarov <juks@xxxxxxx> ():



!


 user.domain.com 

domain.com/users/user/


:


location / {

         if ($host ~* "^(\w+)\.domain\.com$") { 

                set $uid $1;

                rewrite ^(.*)$ http://domain.com/users/$uid$1;

         }


,  

bob.domain.ru   domain.ru/users/bob


, , ?






  • References:
      • From: Igor Savchenko
    • Re:
      • From: Igor Sysoev
    • Re[2]:
      • From: Igor Savchenko
    • Re:
      • From: Igor Sysoev
    • Re[2]:
      • From: Igor Savchenko
      • From: Igor Askarov
    • Re:
      • From: Alexey Karagodov
    • Re[2]:
      • From: Igor Askarov

 




Copyright © Lexa Software, 1996-2009.