Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Нужна помощь с rewrite (www.doma in.com на forum.domain.com)
28.01.2011 11:08, Max Ivanov пишет:
- location /forum/ {
- rewrite ^ http://forum.domain.com permanent;
- }
+ rewrite ^/forum/(.*) http://forum.domain.com/$1 permanent;
Реврайты вне location зло все-таки.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
Почему?
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|