Hello! On Thu, Jul 25, 2019 at 05:08:30AM -0400, [email protected] wrote:
> Hi All, > we tried to add some debug information into our access_log for a service > with a client certificate authentication. Actually we print some information > related to the clients but we would print into the logs the client > certificate sent by the client during the handshake in case of error. We > tried to put the generic logformat into the server block and another > logformat into the if condition, but the first wins always versus the > second. > > Is it possible to config the logformat in a conditional statement? Yes, check the "if=" parameter of the access_log directive. See here for details: http://nginx.org/r/access_log -- Maxim Dounin http://mdounin.ru/ _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
