Welcome! Log In Create A New Profile

Advanced

Re: Задачка по nginx

Валентин Бартенев
July 11, 2011 09:02AM
On Friday 08 July 2011 18:40:46 Userolog wrote:

> location /templates/
> {
> root /var/www/;
> try_files /cache/data/www/$host/templates$uri
> /system/data/www/$host/templates$uri @dummy;
> }

location ничего не откусывает от $uri, вероятно ваш вариант:

location /templates/ {
root /var/www/;
try_files /cache/data/www/$host$uri
/system/data/www/$host$uri
@dummy;
}

--
Валентин Бартенев
http://vbart.ru/
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Задачка по nginx

Userolog July 08, 2011 09:24AM

Re: Задачка по nginx

stitrace July 08, 2011 09:31AM

Re: Задачка по nginx

Userolog July 08, 2011 09:53AM

Re: Задачка по nginx

stitrace July 08, 2011 10:17AM

Re: Задачка по nginx

stitrace July 08, 2011 10:33AM

Re: Задачка по nginx

Userolog July 08, 2011 10:40AM

Re: Задачка по nginx

stitrace July 11, 2011 09:02AM

Re: Задачка по nginx

Игорь Вавржин July 11, 2011 09:02AM

Re: Задачка по nginx

Sergey Shepelev July 11, 2011 09:02AM

Re: Задачка по nginx

Sergey Shepelev July 11, 2011 09:02AM

Re: Задачка по nginx

Валентин Бартенев July 11, 2011 09:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready