autoindex directive in 'if' section

Max nginxyz at
Fri Jan 27 21:51:49 UTC 2012

 28 января 2012, 00:44 от "reallfqq-nginx at" : > I know this Wiki page... > I guess return/rewrite are useless here: I only want to change the root and > activate the directory listing when the user is on a specific directory of a > specific domain. > > Any more help ? :\ I just explained how this is handled here: In your case use the rewrite inside the if block and and then change root and set autoindex inside the internal URI block. Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list