Welcome! Log In Create A New Profile

Advanced

Re: Best practices - url versioning static cache

May 09, 2017 08:49AM
> Но это требует rewrite директив, в конфиге Nginx, мне это не очень
> нравится.

Можно без rewrite директив, просто alias

location ~ ^/[0-9]+/(.+)$
{
alias /var/www/dir/$1;
}
Subject Author Posted

Best practices - url versioning static cache

S.A.N January 22, 2017 04:27AM

Re: Best practices - url versioning static cache

Anton Bessonov January 22, 2017 05:04AM

Re: Best practices - url versioning static cache

S.A.N January 22, 2017 05:38AM

Re: Best practices - url versioning static cache

S.A.N May 09, 2017 08:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready