Здравствуйте,
Вопрос в следующем. Раньше стоял nginx 0.7.65 и в конфиге был такой rewrite
location /registration {
rewrite .* http://domain.com/page permanent;
}
Вроде как срабатывал location без учета регистра.
Сейчас поставил nginx 1.0.6
root@ip-10-48-54-54:/usr/local/nginx/logs# /usr/local/nginx/sbin/nginx -V
nginx: nginx version: nginx/1.0.6
nginx: built by gcc 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
nginx: configure arguments: --with-http_stub_status_module --with-http_sub_module --pid-path=/usr/local/nginx/logs/nginx.pid --error-log-path=/usr/local/nginx/logs/error.log --http-log-path=/usr/local/nginx/logs/access.log --http-client-body-temp-path=/usr/local/nginx/client_body_temp --http-proxy-temp-path=/usr/local/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/nginx/fastcgi_temp
Location стал работать c с учетом регистра.
Это так и должно быть и нужно использовать регулрные выражения в location?
Спасибо.