ðòïåëôù 


  áòèé÷ 


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]

redirect



Hello ,

ÎÅ ÒÁÂÏÔÁÅÔ ÔÁËÏÊ ËÏÎÆÉÇ (ÎÅ ÐÒÏÉÓÈÏÄÉÔ ÒÅÄÉÒÅËÔ):

server {
    listen ip:80;
    server_name host.com;

    location / {
        rewrite ^(.*)$ http://www.host.com$1 permanent;
    }
}

server {
    listen ip:80;
    server_name www.host.com;
}

-- 
Best regards,
 Andrew                          mailto:sitnikov@xxxxxxxxxx





 




Copyright © Lexa Software, 1996-2009.