|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: location всё кроме одного
On Wednesday 23 November 2011 18:47:13 Валентин Бартенев wrote:
>
> location ~ ^/cms/(.*)$ {
> root /webroot/cms/webroot/;
> try_files /$1 /engine/index.php;
> }
Или..
location /cms/ {
alias /webroot/cms/webroot/;
error_page 404 =200 /engine/index.php;
}
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|
|
|