On Wed, Nov 09, 2011 at 10:35:44PM +0800, li zJay wrote: > In the following simple case: > > location /entry1 { > allow 127.0.0.1; > deny all; > rewrite ***; > } > > the allow/deny command has no effect. Is that because rewrite command works > in the earlier phase? Yes, rewrites run before allow/deny. -- Igor Sysoev