|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Нужно убрать слэш в конц е URL
03.12.2010 16:00, Ivan . пишет:
> server_name_in_redirect off;
> не поможет?
>
Не помогло...
server_name_in_redirect off;
location ~ .+/$ {
rewrite (.+)/$ $1 permanent;
}
location / {
index index.php;
try_files $uri /index.php$uri;
}
--
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vlad11@xxxxxxxxx
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|