debug: print all the headers.
This commit is contained in:
parent
8427f2ab77
commit
a28183ae7e
|
@ -18,6 +18,7 @@ function enforce(r) {
|
||||||
{% if nginx_pep_debug_enabled %}
|
{% if nginx_pep_debug_enabled %}
|
||||||
log(context, "Inside NJS enforce for " + r.method + " @ " + r.headersIn.host + "/" + r.uri)
|
log(context, "Inside NJS enforce for " + r.method + " @ " + r.headersIn.host + "/" + r.uri)
|
||||||
log(context, "Remote user header " + r.headersIn.remote_user)
|
log(context, "Remote user header " + r.headersIn.remote_user)
|
||||||
|
log(context, "headers " + njs.dump(r.headersIn))
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
if(context.request.args.token){
|
if(context.request.args.token){
|
||||||
|
|
Loading…
Reference in New Issue