dubstep
#1
Is it possible for the post_action directive
http://wiki.nginx.org/HttpCoreModule#post_action to write any misses to
the error log? How would i go about setting this up?
Thanks!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,219765,219765#msg-219765
chrism
#2
On 7 Dez 2011 15h45 WET, [email protected] wrote:
Is it possible for the post_action directive
http://wiki.nginx.org/HttpCoreModule#post_action to write any misses
to the error log? How would i go about setting this up?
Hmm. Going out on a limb:
-
Run another Nginx vhost and define a location that proxies passes to
it. Then check the access log of this vhost.
-
Run a script that writes a log and use the post_action to hit that
location with an arg that is the $request_uri.
-
Use agentzh embedded Lua module http://wiki.nginx.org/HttpLuaModule
and write to a log. Hitting that location with post_action.
Just random thoughts…
— appa