Welcome! Log In Create A New Profile

Advanced

Re: nginx + last rewrite

March 24, 2014 10:20AM
Вот так заработало (переделал location events):

location ~ /events/(.*)\.html {
rewrite ^/events/(.*)\.html$ /events/$1.php last;
}

Остальные блоки без изменений.
Subject Author Posted

nginx + last rewrite

skeletor March 24, 2014 09:22AM

Re: nginx + last rewrite

Maxim Dounin March 24, 2014 09:54AM

Re: nginx + last rewrite

skeletor March 24, 2014 10:16AM

Re: nginx + last rewrite

skeletor March 24, 2014 10:20AM

Re: nginx + last rewrite

Maxim Dounin March 24, 2014 10:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
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