From a28183ae7e4479ba74354b9a9e6b067819776218 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 4 Nov 2021 17:11:41 +0100 Subject: [PATCH] debug: print all the headers. --- templates/pep.js.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/pep.js.j2 b/templates/pep.js.j2 index 2638506..11b2544 100644 --- a/templates/pep.js.j2 +++ b/templates/pep.js.j2 @@ -18,6 +18,7 @@ function enforce(r) { {% if nginx_pep_debug_enabled %} log(context, "Inside NJS enforce for " + r.method + " @ " + r.headersIn.host + "/" + r.uri) log(context, "Remote user header " + r.headersIn.remote_user) +log(context, "headers " + njs.dump(r.headersIn)) {% endif %} if(context.request.args.token){