Welcome! Log In Create A New Profile

Advanced

Re: post_action misses report to error log?

António P. P. Almeida
December 07, 2011 03:02PM
On 7 Dez 2011 15h45 WET, nginx-forum@nginx.us 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:

1. Run another Nginx vhost and define a location that proxies passes to
it. Then check the access log of this vhost.

2. Run a script that writes a log and use the post_action to hit that
location with an arg that is the $request_uri.

3. 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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

post_action misses report to error log?

chrism December 07, 2011 10:45AM

Re: post_action misses report to error log?

António P. P. Almeida December 07, 2011 03:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready