debug: print all the headers.

This commit is contained in:
Andrea Dell'Amico 2021-11-04 17:11:41 +01:00
parent 8427f2ab77
commit a28183ae7e
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 0 deletions

View File

@ -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){