Nginx User Wrote:
-------------------------------------------------------
> Adding Maxim's statement above into account,
> outside a location block,
> "break" behaves just like "last" does since there
> are no location
> directives to run here.
>
> Someone just needs to update the docs if this is
> correct.
>
I have experienced situations when "rewrite something target last;" in the server {} section generates the 503 page, while "rewrite something target break;" instead works OK. It means that "break" does not behave like "last" in the server section of the virtual host either.
Andrejs