02 февраля 2012, 01:46 от "B.R." <reallfqq-nginx@yahoo.fr>:
> Since the location is based on the new /post_redirect/ folder, the indexing page shows:
> Index of /post_redirect /*******
>
> It is unaesthetic to me, since I would like the original URI there. :o\
> Any trick on that?
http://wiki.nginx.org/HttpLogModule
Set whatever log_format you want inside the /post_redirect/ location
block.
http://wiki.nginx.org/HttpCoreModule#log_subrequest
You can also turn log_subrequest off inside the if block
to prevent the rewrite from showing up in the logs.
Max
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx