Welcome! Log In Create A New Profile

Advanced

Re: Need help understanding Nginx Rewriting

August 23, 2009 02:36AM
On Sun, Aug 23, 2009 at 12:56:13AM +0800, Ray wrote:

> Hi guys,
> Would like to ask what IS the difference between the "last" and "break"
> flags for rewriting? It seems to me from the examples in
> http://wiki.nginx.org/NginxHttpRewriteModule that we can just use "break"
> for just about every situation.
>
> Sorry if I had to bother everyone with such a simple question, but this
> email comes after reading through that page and other examples for like
> hours already :)

The "last" stops execution and nginx looks a new location for rewritten URI.
The "break" stops execution and nginx continues processing in the same
location.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Need help understanding Nginx Rewriting

Ray August 22, 2009 12:56PM

Re: Need help understanding Nginx Rewriting

Igor Sysoev August 23, 2009 02:36AM

Re: Need help understanding Nginx Rewriting

Ray August 23, 2009 08:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready